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.001744/0.001744, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002402/0.002402, allocations: 219 kB / 22.26 MB, free: 5.082 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.412/1.412, allocations: 230.6 MB / 256 MB, free: 8.016 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.164/3.164, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_latest_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.001947/0.001947, allocations: 62.95 kB / 1.177 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3278, allocations: 180.2 MB / 1.353 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006925/0.3348, allocations: 5.222 MB / 1.358 GB, free: 3.203 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.173/0.5077, allocations: 154.2 MB / 1.509 GB, free: 8.438 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000948/0.5087, allocations: 19.88 kB / 1.509 GB, free: 8.418 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008783/0.5095, allocations: 206.1 kB / 1.509 GB, free: 8.215 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002195/0.5117, allocations: 0.5809 MB / 1.509 GB, free: 7.633 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00224/0.514, allocations: 0.8842 MB / 1.51 GB, free: 6.754 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001955/0.5159, allocations: 1.447 MB / 1.512 GB, free: 5.301 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000863/0.5168, allocations: 430.1 kB / 1.512 GB, free: 4.855 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000836/0.5176, allocations: 0.5139 MB / 1.512 GB, free: 4.34 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008185/0.5184, allocations: 0.5251 MB / 1.513 GB, free: 3.812 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002528/0.5187, allocations: 123.9 kB / 1.513 GB, free: 3.691 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.5198, allocations: 0.5113 MB / 1.514 GB, free: 3.18 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003482/0.5202, allocations: 303 kB / 1.514 GB, free: 2.883 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007576/0.5209, allocations: 0.5907 MB / 1.514 GB, free: 2.289 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002443/0.5234, allocations: 1.72 MB / 1.516 GB, free: 0.5625 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5234, allocations: 0 / 1.516 GB, free: 0.5625 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5234, allocations: 0 / 1.516 GB, free: 0.5625 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.233e-05/0.5234, allocations: 3.984 kB / 1.516 GB, free: 0.5586 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.003074/0.5265, allocations: 1.459 MB / 1.518 GB, free: 15.06 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.5265, allocations: 8.031 kB / 1.518 GB, free: 15.05 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001934/0.5267, allocations: 143.6 kB / 1.518 GB, free: 14.91 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.5282, allocations: 232 kB / 1.518 GB, free: 14.68 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.5296, allocations: 0.7219 MB / 1.519 GB, free: 13.93 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.538e-05/0.5297, allocations: 62 kB / 1.519 GB, free: 13.87 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.5298, allocations: 87.95 kB / 1.519 GB, free: 13.78 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.5315, allocations: 0.9379 MB / 1.52 GB, free: 12.8 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.5315, allocations: 3.938 kB / 1.52 GB, free: 12.8 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.339e-05/0.5316, allocations: 36 kB / 1.52 GB, free: 12.77 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.219e-05/0.5317, allocations: 24 kB / 1.52 GB, free: 12.74 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.5335, allocations: 1.124 MB / 1.521 GB, free: 11.61 MB / 1.217 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.004652/0.5382, allocations: 2.769 MB / 1.524 GB, free: 8.711 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.5397, allocations: 0.7726 MB / 1.524 GB, free: 7.93 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000528/0.5402, allocations: 281.1 kB / 1.525 GB, free: 7.652 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 7.708e-05/0.5403, allocations: 28.61 kB / 1.525 GB, free: 7.625 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000888/0.5412, allocations: 0.5009 MB / 1.525 GB, free: 7.109 MB / 1.217 GB Notification: Performance of pre-optimization done (n=82): time 2.555e-06/0.5412, allocations: 0 / 1.525 GB, free: 7.109 MB / 1.217 GB Notification: Performance of matching and sorting (n=82): time 0.003286/0.5445, allocations: 1.142 MB / 1.526 GB, free: 5.957 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.5446, allocations: 192.6 kB / 1.526 GB, free: 5.727 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009105/0.5455, allocations: 0.6684 MB / 1.527 GB, free: 5.051 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.77e-05/0.5456, allocations: 45.64 kB / 1.527 GB, free: 5 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/0.5459, allocations: 421 kB / 1.528 GB, free: 4.582 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.00024/0.5462, allocations: 277.6 kB / 1.528 GB, free: 4.309 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/0.5464, allocations: 158.6 kB / 1.528 GB, free: 4.145 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.5466, allocations: 382.8 kB / 1.528 GB, free: 3.762 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005098/0.5471, allocations: 253.9 kB / 1.529 GB, free: 3.516 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000632/0.5477, allocations: 358.6 kB / 1.529 GB, free: 3.141 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.5488, allocations: 0.5877 MB / 1.529 GB, free: 2.539 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.5488, allocations: 0 / 1.529 GB, free: 2.539 MB / 1.217 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001949/0.5508, allocations: 0.8256 MB / 1.53 GB, free: 1.707 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.5508, allocations: 12.09 kB / 1.53 GB, free: 1.695 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.5508, allocations: 0 / 1.53 GB, free: 1.695 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006159/0.5514, allocations: 76.77 kB / 1.53 GB, free: 1.617 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006396/0.5521, allocations: 163.8 kB / 1.53 GB, free: 1.457 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/0.5542, allocations: 1.53 MB / 1.532 GB, free: 15.81 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007195/0.5549, allocations: 91.41 kB / 1.532 GB, free: 15.72 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.514e-05/0.555, allocations: 27.98 kB / 1.532 GB, free: 15.69 MB / 1.232 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.0004695/0.5554, allocations: 265.7 kB / 1.532 GB, free: 15.42 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/0.5557, allocations: 91.44 kB / 1.532 GB, free: 15.33 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/0.5582, allocations: 1.07 MB / 1.533 GB, free: 14.25 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/0.5582, allocations: 19.98 kB / 1.534 GB, free: 14.23 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5582, allocations: 0 / 1.534 GB, free: 14.23 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.021e-05/0.5582, allocations: 7.969 kB / 1.534 GB, free: 14.22 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.5595, allocations: 0.8949 MB / 1.534 GB, free: 13.28 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.5595, allocations: 0 / 1.534 GB, free: 13.28 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006196/0.5601, allocations: 151.8 kB / 1.535 GB, free: 13.13 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004631/0.5606, allocations: 80.72 kB / 1.535 GB, free: 13.05 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.849e-05/0.5606, allocations: 23.98 kB / 1.535 GB, free: 13.03 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00201/0.5627, allocations: 1.551 MB / 1.536 GB, free: 11.36 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5627, allocations: 0 / 1.536 GB, free: 11.36 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002783/0.5654, allocations: 1.344 MB / 1.537 GB, free: 9.988 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004814/0.5659, allocations: 207 kB / 1.538 GB, free: 9.785 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.5661, allocations: 27.88 kB / 1.538 GB, free: 9.758 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006266/0.5667, allocations: 63.98 kB / 1.538 GB, free: 9.695 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.5668, allocations: 76.86 kB / 1.538 GB, free: 9.621 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.835e-05/0.5669, allocations: 32.05 kB / 1.538 GB, free: 9.59 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006671/0.5676, allocations: 487 kB / 1.538 GB, free: 9.117 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.5676, allocations: 0 / 1.538 GB, free: 9.117 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009066/0.5685, allocations: 331.1 kB / 1.539 GB, free: 8.793 MB / 1.232 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.004921/0.5734, allocations: 2.4 MB / 1.541 GB, free: 6.543 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001697/0.5751, allocations: 0.7728 MB / 1.542 GB, free: 5.758 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.5751, allocations: 0 / 1.542 GB, free: 5.758 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009097/0.576, allocations: 0.4885 MB / 1.542 GB, free: 5.254 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.5773, allocations: 308.8 kB / 1.543 GB, free: 4.977 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.5885, allocations: 6.465 MB / 1.549 GB, free: 14.36 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007227/0.5892, allocations: 1.039 MB / 1.55 GB, free: 13.29 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008553/0.59, allocations: 270.9 kB / 1.55 GB, free: 13.02 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006073/0.5907, allocations: 403.3 kB / 1.55 GB, free: 12.62 MB / 1.248 GB Notification: Performance of SimCode: time 8.92e-07/0.5907, allocations: 0 / 1.55 GB, free: 12.62 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06519/0.6558, allocations: 22.89 MB / 1.573 GB, free: 5.93 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.49/16.15, allocations: 9.453 kB / 1.573 GB, free: 5.926 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.8922728151083]