Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.001255/0.001255, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001443/0.001443, allocations: 211.4 kB / 22.24 MB, free: 4.859 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.365/1.365, allocations: 230.6 MB / 256 MB, free: 7.781 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.148/3.148, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.SimpleHouse2,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",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.002277/0.002277, allocations: 75.12 kB / 1.186 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3196, allocations: 181.9 MB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007014/0.3266, allocations: 4.772 MB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1701/0.4966, allocations: 132.7 MB / 1.498 GB, free: 4.148 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009312/0.4976, allocations: 27.81 kB / 1.498 GB, free: 4.121 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007781/0.4984, allocations: 198.1 kB / 1.498 GB, free: 3.926 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002166/0.5005, allocations: 0.5957 MB / 1.498 GB, free: 3.332 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002367/0.5029, allocations: 0.8628 MB / 1.499 GB, free: 2.473 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00224/0.5051, allocations: 1.471 MB / 1.501 GB, free: 0.9961 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.5062, allocations: 418.8 kB / 1.501 GB, free: 0.5625 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.5072, allocations: 0.5178 MB / 1.502 GB, free: 44 kB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009679/0.5082, allocations: 499.3 kB / 1.502 GB, free: 15.55 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002712/0.5085, allocations: 124 kB / 1.502 GB, free: 15.43 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.5098, allocations: 495.5 kB / 1.503 GB, free: 14.95 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004486/0.5102, allocations: 319 kB / 1.503 GB, free: 14.64 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007522/0.511, allocations: 493.6 kB / 1.504 GB, free: 14.15 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0029/0.5139, allocations: 1.755 MB / 1.505 GB, free: 12.39 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.5139, allocations: 0 / 1.505 GB, free: 12.39 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5139, allocations: 0 / 1.505 GB, free: 12.39 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.841e-05/0.5139, allocations: 4 kB / 1.505 GB, free: 12.39 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003702/0.5176, allocations: 1.474 MB / 1.507 GB, free: 10.88 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 9.477e-05/0.5177, allocations: 12.03 kB / 1.507 GB, free: 10.87 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002258/0.5179, allocations: 139.7 kB / 1.507 GB, free: 10.72 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.5196, allocations: 240 kB / 1.507 GB, free: 10.49 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/0.5213, allocations: 0.7336 MB / 1.508 GB, free: 9.723 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8e-05/0.5214, allocations: 70 kB / 1.508 GB, free: 9.652 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.5216, allocations: 91.97 kB / 1.508 GB, free: 9.562 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/0.5238, allocations: 1.201 MB / 1.509 GB, free: 8.262 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.394e-05/0.5238, allocations: 7.891 kB / 1.509 GB, free: 8.254 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.617e-05/0.5239, allocations: 40 kB / 1.509 GB, free: 8.215 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/0.5239, allocations: 24 kB / 1.509 GB, free: 8.191 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/0.526, allocations: 1.089 MB / 1.51 GB, free: 7.102 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.005/0.531, allocations: 2.308 MB / 1.512 GB, free: 4.73 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.5327, allocations: 0.8024 MB / 1.513 GB, free: 3.922 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005754/0.5333, allocations: 294.6 kB / 1.514 GB, free: 3.629 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 7.937e-05/0.5334, allocations: 30.69 kB / 1.514 GB, free: 3.602 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001213/0.5346, allocations: 0.6007 MB / 1.514 GB, free: 2.965 MB / 1.201 GB Notification: Performance of pre-optimization done (n=85): time 2.855e-06/0.5346, allocations: 0 / 1.514 GB, free: 2.965 MB / 1.201 GB Notification: Performance of matching and sorting (n=85): time 0.003461/0.5381, allocations: 1.18 MB / 1.515 GB, free: 1.773 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001528/0.5382, allocations: 188.9 kB / 1.515 GB, free: 1.547 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.5393, allocations: 0.6802 MB / 1.516 GB, free: 0.8555 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.5394, allocations: 45.7 kB / 1.516 GB, free: 0.8047 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005304/0.54, allocations: 425.1 kB / 1.517 GB, free: 392 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003611/0.5403, allocations: 289.6 kB / 1.517 GB, free: 100 kB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002868/0.5406, allocations: 154.6 kB / 1.517 GB, free: 15.94 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002799/0.5409, allocations: 394.7 kB / 1.517 GB, free: 15.55 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005682/0.5415, allocations: 249.9 kB / 1.518 GB, free: 15.3 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007636/0.5422, allocations: 0.4913 MB / 1.518 GB, free: 14.75 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/0.5436, allocations: 0.6126 MB / 1.519 GB, free: 14.13 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.5436, allocations: 3.938 kB / 1.519 GB, free: 14.13 MB / 1.217 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002684/0.5462, allocations: 0.8413 MB / 1.52 GB, free: 13.27 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/0.5463, allocations: 7.984 kB / 1.52 GB, free: 13.27 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.5463, allocations: 0 / 1.52 GB, free: 13.27 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007719/0.5471, allocations: 80.88 kB / 1.52 GB, free: 13.18 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000733/0.5478, allocations: 167.7 kB / 1.52 GB, free: 13.02 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002405/0.5502, allocations: 1.522 MB / 1.521 GB, free: 11.38 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008625/0.5511, allocations: 91.53 kB / 1.521 GB, free: 11.29 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.249e-05/0.5511, allocations: 35.97 kB / 1.521 GB, free: 11.26 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 (92): * Single equations (assignments): 91 * 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.0005481/0.5517, allocations: 261.7 kB / 1.522 GB, free: 10.99 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.5519, allocations: 91.44 kB / 1.522 GB, free: 10.9 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002631/0.5545, allocations: 1.098 MB / 1.523 GB, free: 9.789 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.5545, allocations: 8 kB / 1.523 GB, free: 9.781 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.5545, allocations: 0 / 1.523 GB, free: 9.781 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.5545, allocations: 7.922 kB / 1.523 GB, free: 9.773 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.5558, allocations: 0.7897 MB / 1.524 GB, free: 8.941 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.5558, allocations: 7.875 kB / 1.524 GB, free: 8.934 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006548/0.5565, allocations: 171.7 kB / 1.524 GB, free: 8.766 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004621/0.5569, allocations: 68.78 kB / 1.524 GB, free: 8.695 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.935e-05/0.557, allocations: 27.97 kB / 1.524 GB, free: 8.668 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/0.5591, allocations: 1.547 MB / 1.525 GB, free: 7 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5591, allocations: 0 / 1.525 GB, free: 7 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003084/0.5622, allocations: 1.375 MB / 1.527 GB, free: 5.602 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005922/0.5628, allocations: 219 kB / 1.527 GB, free: 5.387 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.5629, allocations: 16 kB / 1.527 GB, free: 5.371 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006304/0.5635, allocations: 59.94 kB / 1.527 GB, free: 5.312 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.5637, allocations: 80.84 kB / 1.527 GB, free: 5.234 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.537e-05/0.5638, allocations: 35.98 kB / 1.527 GB, free: 5.199 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006957/0.5645, allocations: 495.1 kB / 1.528 GB, free: 4.719 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.5645, allocations: 0 / 1.528 GB, free: 4.719 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0008941/0.5654, allocations: 339.1 kB / 1.528 GB, free: 4.387 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 (96): * Single equations (assignments): 90 * 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.005307/0.5707, allocations: 2.455 MB / 1.53 GB, free: 2.109 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001822/0.5725, allocations: 0.7924 MB / 1.531 GB, free: 1.305 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.5725, allocations: 3.938 kB / 1.531 GB, free: 1.301 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009752/0.5735, allocations: 0.5041 MB / 1.532 GB, free: 0.7852 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.5748, allocations: 317.4 kB / 1.532 GB, free: 0.5 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/0.5871, allocations: 6.616 MB / 1.538 GB, free: 9.73 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005314/0.5877, allocations: 453.6 kB / 1.539 GB, free: 9.254 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0008898/0.5886, allocations: 271 kB / 1.539 GB, free: 8.984 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006396/0.5892, allocations: 415.3 kB / 1.539 GB, free: 8.578 MB / 1.232 GB Notification: Performance of SimCode: time 9.52e-07/0.5892, allocations: 0 / 1.539 GB, free: 8.578 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07151/0.6607, allocations: 24.24 MB / 1.563 GB, free: 0.6445 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/14.74, allocations: 7.922 kB / 1.563 GB, free: 0.6367 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.423555839806795]