Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.001876/0.001876, 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.002547/0.002547, allocations: 213.9 kB / 22.25 MB, free: 5.078 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.454/1.454, allocations: 230.6 MB / 256 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.088/3.088, allocations: 0.49 GB / 0.7951 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.SimpleHouse0,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",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.00204/0.00204, allocations: 72.61 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3044, allocations: 176.1 MB / 1.326 GB, free: 2.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006634/0.3111, allocations: 5.034 MB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1717/0.4828, allocations: 154.1 MB / 1.481 GB, free: 2.25 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007758/0.4835, allocations: 23.81 kB / 1.481 GB, free: 2.227 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007562/0.4843, allocations: 206.2 kB / 1.482 GB, free: 2.023 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001965/0.4863, allocations: 0.5551 MB / 1.482 GB, free: 1.469 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002161/0.4884, allocations: 0.8812 MB / 1.483 GB, free: 0.5938 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001932/0.4903, allocations: 1.393 MB / 1.484 GB, free: 15.2 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000839/0.4912, allocations: 413.9 kB / 1.485 GB, free: 14.77 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008658/0.4921, allocations: 0.4944 MB / 1.485 GB, free: 14.27 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009034/0.493, allocations: 0.5057 MB / 1.486 GB, free: 13.76 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002971/0.4933, allocations: 120 kB / 1.486 GB, free: 13.64 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.4944, allocations: 0.5113 MB / 1.486 GB, free: 13.13 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003482/0.4948, allocations: 295 kB / 1.487 GB, free: 12.84 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007166/0.4955, allocations: 0.5635 MB / 1.487 GB, free: 12.28 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002698/0.4982, allocations: 1.669 MB / 1.489 GB, free: 10.6 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4982, allocations: 0 / 1.489 GB, free: 10.6 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.492e-06/0.4982, allocations: 0 / 1.489 GB, free: 10.6 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.302e-05/0.4983, allocations: 0 / 1.489 GB, free: 10.6 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.003097/0.5014, allocations: 1.419 MB / 1.49 GB, free: 9.148 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.5014, allocations: 8.031 kB / 1.49 GB, free: 9.141 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002693/0.5017, allocations: 139.2 kB / 1.49 GB, free: 8.996 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/0.5032, allocations: 236 kB / 1.49 GB, free: 8.766 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.5046, allocations: 0.7102 MB / 1.491 GB, free: 8.027 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.505e-05/0.5047, allocations: 66 kB / 1.491 GB, free: 7.961 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.5048, allocations: 76 kB / 1.491 GB, free: 7.887 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/0.5066, allocations: 0.9153 MB / 1.492 GB, free: 6.93 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.5066, allocations: 0 / 1.492 GB, free: 6.93 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.247e-05/0.5067, allocations: 36 kB / 1.492 GB, free: 6.895 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.5067, allocations: 20 kB / 1.492 GB, free: 6.875 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001964/0.5087, allocations: 1.1 MB / 1.493 GB, free: 5.77 MB / 1.186 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.005212/0.5139, allocations: 2.781 MB / 1.496 GB, free: 2.855 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.5156, allocations: 0.7415 MB / 1.497 GB, free: 2.102 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005574/0.5161, allocations: 270.7 kB / 1.497 GB, free: 1.836 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.5162, allocations: 24.62 kB / 1.497 GB, free: 1.812 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009988/0.5172, allocations: 0.4927 MB / 1.498 GB, free: 1.301 MB / 1.186 GB Notification: Performance of pre-optimization done (n=78): time 3.237e-06/0.5172, allocations: 0 / 1.498 GB, free: 1.301 MB / 1.186 GB Notification: Performance of matching and sorting (n=78): time 0.003436/0.5207, allocations: 1.099 MB / 1.499 GB, free: 200 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001742/0.5208, allocations: 196.6 kB / 1.499 GB, free: 15.96 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.5219, allocations: 0.6606 MB / 1.499 GB, free: 15.29 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.799e-05/0.522, allocations: 41.7 kB / 1.499 GB, free: 15.24 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003785/0.5224, allocations: 409 kB / 1.5 GB, free: 14.84 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002581/0.5226, allocations: 269.7 kB / 1.5 GB, free: 14.57 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/0.5229, allocations: 146.6 kB / 1.5 GB, free: 14.42 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002173/0.5231, allocations: 394.7 kB / 1.501 GB, free: 14.03 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005146/0.5236, allocations: 237.9 kB / 1.501 GB, free: 13.79 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006612/0.5243, allocations: 355.4 kB / 1.501 GB, free: 13.42 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.5254, allocations: 0.5847 MB / 1.502 GB, free: 12.82 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5254, allocations: 4 kB / 1.502 GB, free: 12.82 MB / 1.201 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002027/0.5274, allocations: 0.7984 MB / 1.503 GB, free: 12.01 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.5275, allocations: 8 kB / 1.503 GB, free: 12 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.5275, allocations: 0 / 1.503 GB, free: 12 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006392/0.5281, allocations: 88.83 kB / 1.503 GB, free: 11.91 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006193/0.5287, allocations: 143.8 kB / 1.503 GB, free: 11.77 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/0.531, allocations: 1.532 MB / 1.504 GB, free: 10.12 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007007/0.5317, allocations: 91.5 kB / 1.504 GB, free: 10.03 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.496e-05/0.5318, allocations: 35.97 kB / 1.504 GB, free: 9.992 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (85): * Single equations (assignments): 84 * 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.0004931/0.5323, allocations: 266.2 kB / 1.505 GB, free: 9.723 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002199/0.5325, allocations: 87.44 kB / 1.505 GB, free: 9.637 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002433/0.5349, allocations: 1.046 MB / 1.506 GB, free: 8.578 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.535, allocations: 8 kB / 1.506 GB, free: 8.57 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.535, allocations: 3.938 kB / 1.506 GB, free: 8.566 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.535, allocations: 7.922 kB / 1.506 GB, free: 8.559 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.5362, allocations: 0.8754 MB / 1.507 GB, free: 7.637 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.5362, allocations: 0 / 1.507 GB, free: 7.637 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005553/0.5367, allocations: 139.8 kB / 1.507 GB, free: 7.5 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004545/0.5372, allocations: 72.78 kB / 1.507 GB, free: 7.426 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.166e-05/0.5373, allocations: 23.98 kB / 1.507 GB, free: 7.402 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/0.5393, allocations: 1.559 MB / 1.508 GB, free: 5.727 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.5393, allocations: 0 / 1.508 GB, free: 5.727 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/0.5414, allocations: 0.9244 MB / 1.509 GB, free: 4.777 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004759/0.5419, allocations: 199.1 kB / 1.509 GB, free: 4.582 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.542, allocations: 27.95 kB / 1.51 GB, free: 4.555 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006057/0.5426, allocations: 61.66 kB / 1.51 GB, free: 4.496 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.5428, allocations: 76.8 kB / 1.51 GB, free: 4.422 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.009e-05/0.5428, allocations: 39.97 kB / 1.51 GB, free: 4.383 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006751/0.5435, allocations: 475 kB / 1.51 GB, free: 3.922 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.5435, allocations: 0 / 1.51 GB, free: 3.922 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008801/0.5444, allocations: 319.2 kB / 1.51 GB, free: 3.609 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.004347/0.5487, allocations: 1.972 MB / 1.512 GB, free: 1.793 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001743/0.5505, allocations: 0.7689 MB / 1.513 GB, free: 1.012 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5505, allocations: 3.938 kB / 1.513 GB, free: 1.008 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0009739/0.5515, allocations: 484.2 kB / 1.514 GB, free: 0.5234 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.5528, allocations: 301 kB / 1.514 GB, free: 256 kB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01204/0.5648, allocations: 6.247 MB / 1.52 GB, free: 9.84 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008444/0.5657, allocations: 1.023 MB / 1.521 GB, free: 8.785 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009238/0.5666, allocations: 270.6 kB / 1.521 GB, free: 8.516 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006501/0.5672, allocations: 395.3 kB / 1.522 GB, free: 8.129 MB / 1.217 GB Notification: Performance of SimCode: time 1.242e-06/0.5672, allocations: 4 kB / 1.522 GB, free: 8.125 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06623/0.6335, allocations: 22.42 MB / 1.543 GB, free: 1.941 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 15/15.64, allocations: 2.844 kB / 1.543 GB, free: 1.941 MB / 1.232 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.324187721824273]