Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.00175/0.00175, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 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.002413/0.002413, allocations: 216.2 kB / 22.25 MB, free: 5.121 MB / 14.72 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 1.435/1.435, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.677/2.677, allocations: 476.8 MB / 0.7707 GB, free: 4.219 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 71.27 kB / 1.117 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3063, allocations: 170 MB / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007785/0.314, allocations: 5.227 MB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1855/0.4996, allocations: 154.2 MB / 1.439 GB, free: 11.7 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.5006, allocations: 23.81 kB / 1.439 GB, free: 11.67 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.000896/0.5015, allocations: 210.1 kB / 1.439 GB, free: 11.46 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002324/0.5039, allocations: 0.5731 MB / 1.44 GB, free: 10.89 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002614/0.5065, allocations: 0.8792 MB / 1.441 GB, free: 10.02 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002383/0.5089, allocations: 1.459 MB / 1.442 GB, free: 8.555 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009742/0.5098, allocations: 422.2 kB / 1.442 GB, free: 8.117 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009667/0.5108, allocations: 0.5217 MB / 1.443 GB, free: 7.594 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009783/0.5118, allocations: 0.5307 MB / 1.444 GB, free: 7.062 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003212/0.5121, allocations: 120 kB / 1.444 GB, free: 6.945 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.5135, allocations: 0.5152 MB / 1.444 GB, free: 6.43 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003625/0.5139, allocations: 307 kB / 1.444 GB, free: 6.129 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0007843/0.5147, allocations: 0.5868 MB / 1.445 GB, free: 5.539 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003226/0.5179, allocations: 1.72 MB / 1.447 GB, free: 3.812 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.5179, allocations: 0 / 1.447 GB, free: 3.812 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.744e-06/0.5179, allocations: 0 / 1.447 GB, free: 3.812 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.182e-05/0.518, allocations: 0 / 1.447 GB, free: 3.812 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003315/0.5213, allocations: 1.459 MB / 1.448 GB, free: 2.32 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.5213, allocations: 8.031 kB / 1.448 GB, free: 2.312 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002091/0.5215, allocations: 139.6 kB / 1.448 GB, free: 2.168 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/0.5231, allocations: 239.9 kB / 1.448 GB, free: 1.934 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/0.5247, allocations: 0.718 MB / 1.449 GB, free: 1.188 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.4e-05/0.5247, allocations: 65.98 kB / 1.449 GB, free: 1.121 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.5249, allocations: 84 kB / 1.449 GB, free: 1.039 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/0.5266, allocations: 0.9379 MB / 1.45 GB, free: 64 kB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.5266, allocations: 0 / 1.45 GB, free: 64 kB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.03e-05/0.5267, allocations: 39.98 kB / 1.45 GB, free: 24 kB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.011e-05/0.5268, allocations: 28.05 kB / 1.45 GB, free: 15.99 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/0.5287, allocations: 1.116 MB / 1.451 GB, free: 14.88 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005071/0.5338, allocations: 2.705 MB / 1.454 GB, free: 12.06 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.5354, allocations: 0.7648 MB / 1.455 GB, free: 11.28 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005682/0.5359, allocations: 278.7 kB / 1.455 GB, free: 11 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.27e-05/0.536, allocations: 32.59 kB / 1.455 GB, free: 10.97 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009129/0.5369, allocations: 497.1 kB / 1.456 GB, free: 10.47 MB / 1.154 GB Notification: Performance of pre-optimization done (n=82): time 2.625e-06/0.5369, allocations: 0 / 1.456 GB, free: 10.47 MB / 1.154 GB Notification: Performance of matching and sorting (n=82): time 0.003457/0.5404, allocations: 1.142 MB / 1.457 GB, free: 9.32 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.5405, allocations: 188.6 kB / 1.457 GB, free: 9.094 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009916/0.5415, allocations: 0.6723 MB / 1.457 GB, free: 8.41 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.5416, allocations: 41.7 kB / 1.458 GB, free: 8.363 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003748/0.542, allocations: 425 kB / 1.458 GB, free: 7.941 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000271/0.5423, allocations: 277.6 kB / 1.458 GB, free: 7.668 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/0.5425, allocations: 150.6 kB / 1.458 GB, free: 7.512 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.5427, allocations: 386.8 kB / 1.459 GB, free: 7.125 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005299/0.5432, allocations: 253.9 kB / 1.459 GB, free: 6.879 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006332/0.5439, allocations: 362.5 kB / 1.459 GB, free: 6.5 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.545, allocations: 0.5877 MB / 1.46 GB, free: 5.898 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.545, allocations: 0 / 1.46 GB, free: 5.898 MB / 1.154 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002039/0.547, allocations: 0.8218 MB / 1.461 GB, free: 5.07 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.547, allocations: 11.94 kB / 1.461 GB, free: 5.059 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.547, allocations: 0 / 1.461 GB, free: 5.059 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006446/0.5477, allocations: 84.86 kB / 1.461 GB, free: 4.973 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006918/0.5484, allocations: 163.7 kB / 1.461 GB, free: 4.812 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/0.5506, allocations: 1.527 MB / 1.462 GB, free: 3.164 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008105/0.5514, allocations: 90.97 kB / 1.463 GB, free: 3.078 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.5515, allocations: 27.98 kB / 1.463 GB, free: 3.051 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005507/0.5521, allocations: 273.7 kB / 1.463 GB, free: 2.773 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002394/0.5523, allocations: 91.39 kB / 1.463 GB, free: 2.684 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002553/0.5549, allocations: 1.074 MB / 1.464 GB, free: 1.598 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.5549, allocations: 12 kB / 1.464 GB, free: 1.586 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.5549, allocations: 0 / 1.464 GB, free: 1.586 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.5549, allocations: 7.969 kB / 1.464 GB, free: 1.578 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.5563, allocations: 0.9026 MB / 1.465 GB, free: 0.6328 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.5563, allocations: 0 / 1.465 GB, free: 0.6328 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006874/0.557, allocations: 147.8 kB / 1.465 GB, free: 500 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005034/0.5575, allocations: 84.66 kB / 1.465 GB, free: 412 kB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/0.5576, allocations: 23.98 kB / 1.465 GB, free: 388 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002234/0.5599, allocations: 1.555 MB / 1.467 GB, free: 14.7 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5599, allocations: 0 / 1.467 GB, free: 14.7 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003134/0.563, allocations: 1.344 MB / 1.468 GB, free: 13.34 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006032/0.5636, allocations: 199.1 kB / 1.468 GB, free: 13.14 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/0.5638, allocations: 27.94 kB / 1.468 GB, free: 13.11 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006364/0.5644, allocations: 64.05 kB / 1.468 GB, free: 13.05 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/0.5646, allocations: 76.86 kB / 1.468 GB, free: 12.98 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.863e-05/0.5647, allocations: 35.98 kB / 1.468 GB, free: 12.94 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007055/0.5654, allocations: 487 kB / 1.469 GB, free: 12.47 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.5654, allocations: 0 / 1.469 GB, free: 12.47 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001061/0.5664, allocations: 331.1 kB / 1.469 GB, free: 12.14 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005411/0.5718, allocations: 2.398 MB / 1.471 GB, free: 9.898 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002024/0.5739, allocations: 0.7884 MB / 1.472 GB, free: 9.098 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.5739, allocations: 0 / 1.472 GB, free: 9.098 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.5749, allocations: 0.4924 MB / 1.473 GB, free: 8.594 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.5764, allocations: 297.7 kB / 1.473 GB, free: 8.324 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/0.5889, allocations: 6.449 MB / 1.479 GB, free: 1.719 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000788/0.5896, allocations: 1.035 MB / 1.48 GB, free: 0.6523 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009535/0.5906, allocations: 278.8 kB / 1.481 GB, free: 384 kB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007095/0.5913, allocations: 403.3 kB / 1.481 GB, free: 15.98 MB / 1.186 GB Notification: Performance of SimCode: time 1.203e-06/0.5913, allocations: 4 kB / 1.481 GB, free: 15.97 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07098/0.6623, allocations: 22.89 MB / 1.503 GB, free: 9.32 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/14.89, allocations: 12.91 kB / 1.503 GB, free: 9.312 MB / 1.201 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.csv --start-time 0 --stop-time 1e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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: 21.475552519001212]