Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008599/0.0008599, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009005/0.0009005, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8919/0.8919, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.668/1.668, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 0.9505 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.288e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001628/0.001651, allocations: 0.852 MB / 0.9513 GB, free: 2.676 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002444/0.001896, allocations: 91.64 kB / 0.9514 GB, free: 2.586 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.118e-05/0.001977, allocations: 0 / 0.9514 GB, free: 2.586 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.002087, allocations: 27.73 kB / 0.9514 GB, free: 2.559 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.002216, allocations: 7.922 kB / 0.9514 GB, free: 2.551 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 7.294e-05/0.002289, allocations: 47.94 kB / 0.9515 GB, free: 2.504 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.002501, allocations: 251.4 kB / 0.9517 GB, free: 2.258 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002419/0.002742, allocations: 178.8 kB / 0.9519 GB, free: 2.082 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.00288, allocations: 191.5 kB / 0.9521 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.003009, allocations: 119.7 kB / 0.9522 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 4.301e-05/0.003052, allocations: 40 kB / 0.9522 GB, free: 1.738 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 2.842e-05/0.003081, allocations: 32 kB / 0.9523 GB, free: 1.707 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 6.238e-05/0.003143, allocations: 91.67 kB / 0.9523 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 6.824e-05/0.003211, allocations: 83.77 kB / 0.9524 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0003335/0.003545, allocations: 470.4 kB / 0.9529 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.003547, allocations: 0 / 0.9529 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.242e-06/0.003548, allocations: 3.938 kB / 0.9529 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.003554, allocations: 4 kB / 0.9529 GB, free: 1.066 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0005176/0.004072, allocations: 0.5246 MB / 0.9534 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.004112, allocations: 11.97 kB / 0.9534 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.599e-05/0.004168, allocations: 82.66 kB / 0.9535 GB, free: 416 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.004215, allocations: 40.7 kB / 0.9535 GB, free: 376 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.004506, allocations: 261.8 kB / 0.9538 GB, free: 84 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.089e-05/0.004547, allocations: 37.03 kB / 0.9538 GB, free: 48 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.004573, allocations: 32.31 kB / 0.9538 GB, free: 16 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004006/0.004974, allocations: 404 kB / 0.9542 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.004983, allocations: 192 / 0.9542 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.005003, allocations: 12.38 kB / 0.9542 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.005011, allocations: 12.12 kB / 0.9542 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002974/0.005309, allocations: 307.5 kB / 0.9545 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009272/0.006236, allocations: 0.9654 MB / 0.9555 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.006348, allocations: 85.22 kB / 0.9556 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.419e-05/0.006392, allocations: 49.73 kB / 0.9556 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.006411, allocations: 0 / 0.9556 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.00643, allocations: 34.56 kB / 0.9556 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=6): time 8.02e-07/0.006431, allocations: 0 / 0.9556 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6): time 0.0002514/0.006683, allocations: 177.3 kB / 0.9558 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.006718, allocations: 81.11 kB / 0.9559 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003614/0.00708, allocations: 0.5169 MB / 0.9564 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.007092, allocations: 25.7 kB / 0.9564 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.007192, allocations: 203.7 kB / 0.9566 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.239e-05/0.007205, allocations: 19.89 kB / 0.9566 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.007258, allocations: 57.61 kB / 0.9567 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.441e-05/0.007342, allocations: 342.8 kB / 0.957 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.876e-05/0.007411, allocations: 67.95 kB / 0.9571 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.588e-05/0.007487, allocations: 89.66 kB / 0.9572 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.007592, allocations: 117.5 kB / 0.9573 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.007595, allocations: 4 kB / 0.9573 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001845/0.007779, allocations: 213.3 kB / 0.9575 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.007792, allocations: 8 kB / 0.9575 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.007798, allocations: 4 kB / 0.9575 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.007809, allocations: 0 / 0.9575 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-05/0.007904, allocations: 27.98 kB / 0.9575 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.007909, allocations: 0 / 0.9575 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.04e-05/0.007959, allocations: 43.61 kB / 0.9576 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.007971, allocations: 4 kB / 0.9576 GB, free: 12.02 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (couTru.booToInt[1].y,couTru.booToInt[2].y,couTru.booToInt[3].y,couTru.booToInt[4].y,couTru.booToInt[5].y,couTru.booToInt[6].y,couTru.intEqu.y,couTru.mulMin.y,couTru.y,couTruAllFal.booToInt[1].y,couTruAllFal.booToInt[2].y,couTruAllFal.booToInt[3].y,couTruAllFal.booToInt[4].y,couTruAllFal.booToInt[5].y,couTruAllFal.booToInt[6].y,couTruAllFal.intEqu.y,couTruAllFal.mulMin.y,couTruAllFal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001303/0.008102, allocations: 207.7 kB / 0.9578 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.008137, allocations: 31.77 kB / 0.9578 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.008287, allocations: 122 kB / 0.9579 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.008289, allocations: 0 / 0.9579 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.008294, allocations: 0 / 0.9579 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.008297, allocations: 3.938 kB / 0.9579 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003526/0.00865, allocations: 0.5971 MB / 0.9585 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.008651, allocations: 0 / 0.9585 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.638e-05/0.008668, allocations: 16.11 kB / 0.9585 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.008671, allocations: 3.938 kB / 0.9585 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.008678, allocations: 4 kB / 0.9585 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.00868, allocations: 0 / 0.9585 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.008681, allocations: 192 / 0.9585 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.451e-05/0.008765, allocations: 131.5 kB / 0.9586 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.316e-05/0.008808, allocations: 59.56 kB / 0.9587 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.008825, allocations: 0 / 0.9587 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.109e-05/0.008856, allocations: 4 kB / 0.9587 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.882e-05/0.008875, allocations: 8 kB / 0.9587 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-06/0.008877, allocations: 4 kB / 0.9587 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002677/0.009145, allocations: 395 kB / 0.9591 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.009145, allocations: 0 / 0.9591 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001585/0.009303, allocations: 32 kB / 0.9591 GB, free: 10.32 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (couTru.y,couTru.intEqu.y,couTruAllFal.y,couTruAllFal.intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002573/0.00956, allocations: 0.6698 MB / 0.9598 GB, free: 9.605 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001468/0.009707, allocations: 103.9 kB / 0.9599 GB, free: 9.504 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.009709, allocations: 0 / 0.9599 GB, free: 9.504 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.651e-05/0.009725, allocations: 20.12 kB / 0.9599 GB, free: 9.484 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.009903, allocations: 29.66 kB / 0.9599 GB, free: 9.453 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.01198, allocations: 2.916 MB / 0.9628 GB, free: 6.434 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.0121, allocations: 183.6 kB / 0.9629 GB, free: 6.23 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.903e-05/0.01216, allocations: 62.92 kB / 0.963 GB, free: 6.172 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.095e-05/0.01226, allocations: 92.47 kB / 0.9631 GB, free: 6.082 MB / 0.9167 GB Notification: Performance of SimCode: time 4.61e-07/0.01226, allocations: 0 / 0.9631 GB, free: 6.082 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01894/0.03119, allocations: 6.448 MB / 0.9694 GB, free: 15.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.938/6.97, allocations: 8.062 kB / 0.9694 GB, free: 15.79 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.035205188207328]