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.001373/0.001373, allocations: 103 kB / 16.45 MB, free: 6.449 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.001531/0.001531, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.429/1.429, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.02/3.02, allocations: 0.49 GB / 0.7916 GB, free: 33.32 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.001952/0.001952, allocations: 72.78 kB / 1.149 GB, free: 26.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2979, allocations: 176.1 MB / 1.321 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007701/0.3056, allocations: 4.998 MB / 1.326 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1708/0.4764, allocations: 154 MB / 1.476 GB, free: 3.746 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007733/0.4771, allocations: 23.81 kB / 1.476 GB, free: 3.723 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007188/0.4779, allocations: 194.2 kB / 1.476 GB, free: 3.531 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001909/0.4798, allocations: 0.5662 MB / 1.477 GB, free: 2.965 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002067/0.4818, allocations: 0.8521 MB / 1.478 GB, free: 2.117 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001766/0.4836, allocations: 1.389 MB / 1.479 GB, free: 0.7227 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008087/0.4844, allocations: 417.4 kB / 1.479 GB, free: 296 kB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007684/0.4852, allocations: 0.5022 MB / 1.48 GB, free: 15.79 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006996/0.4859, allocations: 0.4978 MB / 1.48 GB, free: 15.29 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002096/0.4861, allocations: 116 kB / 1.48 GB, free: 15.17 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.4871, allocations: 0.5074 MB / 1.481 GB, free: 14.66 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003072/0.4874, allocations: 303 kB / 1.481 GB, free: 14.37 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006452/0.488, allocations: 0.5596 MB / 1.482 GB, free: 13.8 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00225/0.4903, allocations: 1.669 MB / 1.483 GB, free: 12.13 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4903, allocations: 0 / 1.483 GB, free: 12.13 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4903, allocations: 4 kB / 1.483 GB, free: 12.12 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.697e-05/0.4903, allocations: 4 kB / 1.483 GB, free: 12.12 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.002983/0.4933, allocations: 1.487 MB / 1.485 GB, free: 10.58 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.4934, allocations: 15.97 kB / 1.485 GB, free: 10.57 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002008/0.4936, allocations: 139.2 kB / 1.485 GB, free: 10.42 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.4951, allocations: 228 kB / 1.485 GB, free: 10.2 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.4964, allocations: 0.7785 MB / 1.486 GB, free: 9.379 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.559e-05/0.4965, allocations: 69.94 kB / 1.486 GB, free: 9.309 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.4966, allocations: 76 kB / 1.486 GB, free: 9.234 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/0.4983, allocations: 0.9114 MB / 1.487 GB, free: 8.281 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/0.4983, allocations: 8 kB / 1.487 GB, free: 8.273 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.369e-05/0.4984, allocations: 36 kB / 1.487 GB, free: 8.238 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.4984, allocations: 20 kB / 1.487 GB, free: 8.219 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.5003, allocations: 1.097 MB / 1.488 GB, free: 7.117 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.004392/0.5047, allocations: 2.838 MB / 1.491 GB, free: 4.145 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.5063, allocations: 0.7378 MB / 1.492 GB, free: 3.398 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005604/0.5068, allocations: 274.6 kB / 1.492 GB, free: 3.125 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.744e-05/0.5069, allocations: 32.61 kB / 1.492 GB, free: 3.09 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009153/0.5078, allocations: 488.6 kB / 1.492 GB, free: 2.598 MB / 1.186 GB Notification: Performance of pre-optimization done (n=78): time 2.484e-06/0.5078, allocations: 0 / 1.492 GB, free: 2.598 MB / 1.186 GB Notification: Performance of matching and sorting (n=78): time 0.003429/0.5113, allocations: 1.182 MB / 1.494 GB, free: 1.387 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.5114, allocations: 196.6 kB / 1.494 GB, free: 1.152 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009282/0.5123, allocations: 0.6607 MB / 1.494 GB, free: 496 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.934e-05/0.5124, allocations: 41.7 kB / 1.494 GB, free: 448 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003408/0.5127, allocations: 412.9 kB / 1.495 GB, free: 28 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002694/0.513, allocations: 258 kB / 1.495 GB, free: 15.77 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.5133, allocations: 146.6 kB / 1.495 GB, free: 15.62 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001958/0.5135, allocations: 394.5 kB / 1.496 GB, free: 15.23 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005193/0.514, allocations: 237.9 kB / 1.496 GB, free: 15 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000652/0.5146, allocations: 359.4 kB / 1.496 GB, free: 14.62 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.5158, allocations: 0.5846 MB / 1.497 GB, free: 14.02 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.5158, allocations: 0 / 1.497 GB, free: 14.02 MB / 1.201 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001996/0.5178, allocations: 0.7984 MB / 1.498 GB, free: 13.21 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.5178, allocations: 8 kB / 1.498 GB, free: 13.2 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.5178, allocations: 0 / 1.498 GB, free: 13.2 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006253/0.5184, allocations: 88.83 kB / 1.498 GB, free: 13.11 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006258/0.519, allocations: 151.7 kB / 1.498 GB, free: 12.96 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/0.5213, allocations: 1.632 MB / 1.499 GB, free: 11.19 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007936/0.5221, allocations: 95.56 kB / 1.499 GB, free: 11.09 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.072e-05/0.5222, allocations: 27.98 kB / 1.499 GB, free: 11.07 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.0005035/0.5227, allocations: 274.1 kB / 1.5 GB, free: 10.79 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/0.5229, allocations: 87.44 kB / 1.5 GB, free: 10.7 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002495/0.5254, allocations: 1.046 MB / 1.501 GB, free: 9.637 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.5254, allocations: 11.94 kB / 1.501 GB, free: 9.625 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.5254, allocations: 0 / 1.501 GB, free: 9.625 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.5254, allocations: 11.91 kB / 1.501 GB, free: 9.613 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.5267, allocations: 0.8959 MB / 1.502 GB, free: 8.668 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.5268, allocations: 4 kB / 1.502 GB, free: 8.664 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005893/0.5273, allocations: 139.8 kB / 1.502 GB, free: 8.527 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004684/0.5278, allocations: 68.78 kB / 1.502 GB, free: 8.457 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.378e-05/0.5279, allocations: 31.97 kB / 1.502 GB, free: 8.426 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/0.5299, allocations: 1.65 MB / 1.504 GB, free: 6.633 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.5299, allocations: 64 / 1.504 GB, free: 6.633 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/0.5321, allocations: 0.9244 MB / 1.504 GB, free: 5.688 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000428/0.5325, allocations: 280.2 kB / 1.505 GB, free: 5.395 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.5326, allocations: 23.95 kB / 1.505 GB, free: 5.371 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006464/0.5333, allocations: 60.06 kB / 1.505 GB, free: 5.312 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.5334, allocations: 72.83 kB / 1.505 GB, free: 5.242 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.726e-05/0.5335, allocations: 35.98 kB / 1.505 GB, free: 5.207 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006826/0.5342, allocations: 483 kB / 1.505 GB, free: 4.738 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.5342, allocations: 0 / 1.505 GB, free: 4.738 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008869/0.5351, allocations: 323.1 kB / 1.506 GB, free: 4.422 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.00424/0.5393, allocations: 1.97 MB / 1.508 GB, free: 2.602 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001801/0.5411, allocations: 0.7648 MB / 1.508 GB, free: 1.828 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.5411, allocations: 0 / 1.508 GB, free: 1.828 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.5421, allocations: 488.5 kB / 1.509 GB, free: 1.336 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.5435, allocations: 303.2 kB / 1.509 GB, free: 1.062 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/0.5547, allocations: 6.238 MB / 1.515 GB, free: 10.66 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006979/0.5554, allocations: 1.023 MB / 1.516 GB, free: 9.605 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008591/0.5563, allocations: 266.6 kB / 1.516 GB, free: 9.34 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006291/0.5569, allocations: 403.3 kB / 1.517 GB, free: 8.945 MB / 1.217 GB Notification: Performance of SimCode: time 1.272e-06/0.5569, allocations: 3.938 kB / 1.517 GB, free: 8.941 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06191/0.6188, allocations: 21.84 MB / 1.538 GB, free: 3.352 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.04, allocations: 4.062 kB / 1.538 GB, free: 3.348 MB / 1.232 GB " [Timeout remaining time 286] (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: 20.517002931097522]