Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001238/0.001238, allocations: 98.33 kB / 19.73 MB, free: 2.23 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.001503/0.001503, allocations: 218.9 kB / 23.04 MB, free: 5.074 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.414/1.414, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.108/3.108, allocations: 0.5003 GB / 0.8061 GB, free: 26.78 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="cs",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.001944/0.001944, allocations: 62.94 kB / 1.171 GB, free: 19.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3192, allocations: 179 MB / 1.345 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007595/0.3267, allocations: 5.23 MB / 1.35 GB, free: 11.24 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1837/0.5104, allocations: 154.2 MB / 1.501 GB, free: 496 kB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.5116, allocations: 23.81 kB / 1.501 GB, free: 472 kB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008448/0.5125, allocations: 202.2 kB / 1.501 GB, free: 268 kB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002064/0.5145, allocations: 0.5843 MB / 1.502 GB, free: 15.68 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002311/0.5168, allocations: 0.876 MB / 1.503 GB, free: 14.81 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002119/0.5189, allocations: 1.447 MB / 1.504 GB, free: 13.36 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009368/0.5199, allocations: 434.2 kB / 1.504 GB, free: 12.91 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009601/0.5208, allocations: 0.5178 MB / 1.505 GB, free: 12.39 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008009/0.5216, allocations: 0.5173 MB / 1.505 GB, free: 11.87 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002047/0.5218, allocations: 120 kB / 1.506 GB, free: 11.75 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.523, allocations: 0.5113 MB / 1.506 GB, free: 11.24 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003172/0.5233, allocations: 318.9 kB / 1.506 GB, free: 10.93 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005995/0.5239, allocations: 0.5791 MB / 1.507 GB, free: 10.35 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002421/0.5263, allocations: 1.728 MB / 1.509 GB, free: 8.613 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5263, allocations: 0 / 1.509 GB, free: 8.613 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5263, allocations: 0 / 1.509 GB, free: 8.613 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.227e-05/0.5264, allocations: 4 kB / 1.509 GB, free: 8.609 MB / 1.201 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.002926/0.5293, allocations: 1.455 MB / 1.51 GB, free: 7.113 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.5293, allocations: 12.03 kB / 1.51 GB, free: 7.102 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.419e-05/0.5294, allocations: 22.19 kB / 1.51 GB, free: 7.082 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001674/0.5295, allocations: 139.6 kB / 1.51 GB, free: 6.938 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/0.531, allocations: 232 kB / 1.51 GB, free: 6.711 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.5324, allocations: 0.7256 MB / 1.511 GB, free: 5.957 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.111e-05/0.5325, allocations: 66 kB / 1.511 GB, free: 5.891 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.5326, allocations: 87.95 kB / 1.511 GB, free: 5.805 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/0.5343, allocations: 0.934 MB / 1.512 GB, free: 4.832 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.5344, allocations: 11.98 kB / 1.512 GB, free: 4.82 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-05/0.5344, allocations: 36 kB / 1.512 GB, free: 4.785 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.5345, allocations: 20 kB / 1.512 GB, free: 4.766 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001889/0.5364, allocations: 1.12 MB / 1.513 GB, free: 3.645 MB / 1.201 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.004629/0.541, allocations: 2.769 MB / 1.516 GB, free: 0.7422 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.5425, allocations: 0.7649 MB / 1.517 GB, free: 15.97 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005657/0.5431, allocations: 290.6 kB / 1.517 GB, free: 15.68 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-05/0.5432, allocations: 32.61 kB / 1.517 GB, free: 15.65 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009256/0.5441, allocations: 0.4893 MB / 1.518 GB, free: 15.15 MB / 1.217 GB Notification: Performance of pre-optimization done (n=82): time 2.284e-06/0.5441, allocations: 0 / 1.518 GB, free: 15.15 MB / 1.217 GB Notification: Performance of matching and sorting (n=82): time 0.003446/0.5476, allocations: 1.134 MB / 1.519 GB, free: 14 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.5477, allocations: 188.6 kB / 1.519 GB, free: 13.78 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.5487, allocations: 0.6762 MB / 1.52 GB, free: 13.09 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.5488, allocations: 49.64 kB / 1.52 GB, free: 13.04 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003708/0.5492, allocations: 417 kB / 1.52 GB, free: 12.62 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002937/0.5495, allocations: 277.6 kB / 1.52 GB, free: 12.35 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002498/0.5498, allocations: 146.6 kB / 1.52 GB, free: 12.2 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002126/0.55, allocations: 394.7 kB / 1.521 GB, free: 11.8 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005454/0.5505, allocations: 245.9 kB / 1.521 GB, free: 11.56 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006556/0.5512, allocations: 366.5 kB / 1.521 GB, free: 11.18 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.5523, allocations: 0.5877 MB / 1.522 GB, free: 10.58 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.5523, allocations: 3.938 kB / 1.522 GB, free: 10.58 MB / 1.217 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002081/0.5544, allocations: 0.8256 MB / 1.523 GB, free: 9.738 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.5544, allocations: 4 kB / 1.523 GB, free: 9.734 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.5545, allocations: 0 / 1.523 GB, free: 9.734 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006087/0.5551, allocations: 88.86 kB / 1.523 GB, free: 9.645 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000696/0.5558, allocations: 151.8 kB / 1.523 GB, free: 9.496 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002479/0.5582, allocations: 1.527 MB / 1.524 GB, free: 7.852 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009577/0.5592, allocations: 91.5 kB / 1.525 GB, free: 7.762 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.5593, allocations: 36.05 kB / 1.525 GB, free: 7.727 MB / 1.217 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.0006886/0.56, allocations: 269.5 kB / 1.525 GB, free: 7.453 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002871/0.5603, allocations: 91.44 kB / 1.525 GB, free: 7.363 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002622/0.5629, allocations: 1.07 MB / 1.526 GB, free: 6.281 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.5629, allocations: 8 kB / 1.526 GB, free: 6.273 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.5629, allocations: 0 / 1.526 GB, free: 6.273 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.5629, allocations: 3.984 kB / 1.526 GB, free: 6.27 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.5644, allocations: 0.9027 MB / 1.527 GB, free: 5.324 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.5644, allocations: 0 / 1.527 GB, free: 5.324 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000701/0.5651, allocations: 163.7 kB / 1.527 GB, free: 5.164 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004812/0.5656, allocations: 68.78 kB / 1.527 GB, free: 5.094 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.722e-05/0.5657, allocations: 23.98 kB / 1.527 GB, free: 5.07 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002192/0.5679, allocations: 1.551 MB / 1.529 GB, free: 3.395 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5679, allocations: 0 / 1.529 GB, free: 3.395 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003249/0.5711, allocations: 1.344 MB / 1.53 GB, free: 2.031 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006713/0.5718, allocations: 211.1 kB / 1.53 GB, free: 1.824 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002802/0.5721, allocations: 24 kB / 1.53 GB, free: 1.801 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008104/0.5729, allocations: 67.92 kB / 1.53 GB, free: 1.734 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002322/0.5731, allocations: 68.86 kB / 1.53 GB, free: 1.664 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/0.5732, allocations: 39.92 kB / 1.53 GB, free: 1.625 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008785/0.5741, allocations: 491 kB / 1.531 GB, free: 1.148 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.5741, allocations: 0 / 1.531 GB, free: 1.148 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001131/0.5752, allocations: 335.1 kB / 1.531 GB, free: 0.8203 MB / 1.217 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.005611/0.5808, allocations: 2.397 MB / 1.533 GB, free: 14.58 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002164/0.583, allocations: 0.7766 MB / 1.534 GB, free: 13.79 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.583, allocations: 3.938 kB / 1.534 GB, free: 13.78 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.5842, allocations: 0.4887 MB / 1.535 GB, free: 13.29 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/0.5861, allocations: 308.1 kB / 1.535 GB, free: 13 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01411/0.6002, allocations: 6.461 MB / 1.541 GB, free: 6.383 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008746/0.6011, allocations: 1.035 MB / 1.542 GB, free: 5.316 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001112/0.6022, allocations: 270.8 kB / 1.543 GB, free: 5.047 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008124/0.603, allocations: 411.3 kB / 1.543 GB, free: 4.645 MB / 1.232 GB Notification: Performance of SimCode: time 2.094e-06/0.603, allocations: 0 / 1.543 GB, free: 4.645 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0657/0.6687, allocations: 22.91 MB / 1.565 GB, free: 13.94 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15/15.67, allocations: 17.23 kB / 1.565 GB, free: 13.92 MB / 1.264 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 22.49830805399688]