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.001285/0.001285, allocations: 95.77 kB / 18.94 MB, free: 2.844 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.001469/0.001469, allocations: 220.3 kB / 22.25 MB, free: 5.098 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.383/1.383, allocations: 230.6 MB / 256 MB, free: 7.816 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.076/3.076, allocations: 0.49 GB / 0.7951 GB, free: 35.42 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.002025/0.002025, allocations: 67.5 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3166, allocations: 176.1 MB / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006943/0.3236, allocations: 4.493 MB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1598/0.4834, allocations: 132.7 MB / 1.46 GB, free: 7.801 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008199/0.4842, allocations: 23.81 kB / 1.46 GB, free: 7.777 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006375/0.4848, allocations: 194.2 kB / 1.46 GB, free: 7.586 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.4867, allocations: 0.5606 MB / 1.461 GB, free: 7.027 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.4887, allocations: 0.8647 MB / 1.461 GB, free: 6.168 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001604/0.4903, allocations: 1.393 MB / 1.463 GB, free: 4.77 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007459/0.4911, allocations: 402 kB / 1.463 GB, free: 4.352 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007352/0.4918, allocations: 0.5099 MB / 1.464 GB, free: 3.84 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006382/0.4925, allocations: 0.4979 MB / 1.464 GB, free: 3.34 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001716/0.4926, allocations: 116 kB / 1.464 GB, free: 3.227 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009775/0.4936, allocations: 0.4957 MB / 1.465 GB, free: 2.73 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003116/0.4939, allocations: 299 kB / 1.465 GB, free: 2.438 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004733/0.4944, allocations: 461.8 kB / 1.465 GB, free: 1.984 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002196/0.4966, allocations: 1.681 MB / 1.467 GB, free: 304 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.4966, allocations: 7.984 kB / 1.467 GB, free: 296 kB / 1.154 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4966, allocations: 0 / 1.467 GB, free: 296 kB / 1.154 GB Notification: Performance of Transformations before backend: time 1.917e-05/0.4966, allocations: 0 / 1.467 GB, free: 296 kB / 1.154 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.002577/0.4992, allocations: 1.413 MB / 1.468 GB, free: 14.84 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.4992, allocations: 8.031 kB / 1.468 GB, free: 14.84 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001625/0.4994, allocations: 131.3 kB / 1.469 GB, free: 14.7 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/0.5008, allocations: 236 kB / 1.469 GB, free: 14.47 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.5022, allocations: 0.7217 MB / 1.47 GB, free: 13.72 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.47e-05/0.5022, allocations: 66 kB / 1.47 GB, free: 13.65 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.5024, allocations: 76 kB / 1.47 GB, free: 13.58 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.504, allocations: 1.166 MB / 1.471 GB, free: 12.31 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.504, allocations: 4 kB / 1.471 GB, free: 12.3 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.836e-05/0.5041, allocations: 36 kB / 1.471 GB, free: 12.27 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.5041, allocations: 20 kB / 1.471 GB, free: 12.25 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.5058, allocations: 1.054 MB / 1.472 GB, free: 11.19 MB / 1.17 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.003854/0.5097, allocations: 2.279 MB / 1.474 GB, free: 8.848 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.5111, allocations: 0.735 MB / 1.475 GB, free: 8.098 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005102/0.5116, allocations: 266.7 kB / 1.475 GB, free: 7.836 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.741e-05/0.5117, allocations: 24.64 kB / 1.475 GB, free: 7.812 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008799/0.5125, allocations: 0.5776 MB / 1.476 GB, free: 7.191 MB / 1.17 GB Notification: Performance of pre-optimization done (n=78): time 2.975e-06/0.5126, allocations: 0 / 1.476 GB, free: 7.191 MB / 1.17 GB Notification: Performance of matching and sorting (n=78): time 0.003053/0.5156, allocations: 1.107 MB / 1.477 GB, free: 6.078 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.5157, allocations: 204.5 kB / 1.477 GB, free: 5.832 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008633/0.5166, allocations: 0.6567 MB / 1.478 GB, free: 5.168 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.508e-05/0.5167, allocations: 41.7 kB / 1.478 GB, free: 5.121 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003528/0.517, allocations: 409 kB / 1.478 GB, free: 4.715 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/0.5172, allocations: 265.8 kB / 1.478 GB, free: 4.453 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/0.5175, allocations: 142.6 kB / 1.478 GB, free: 4.309 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001961/0.5177, allocations: 394.7 kB / 1.479 GB, free: 3.914 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004797/0.5182, allocations: 237.9 kB / 1.479 GB, free: 3.68 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007156/0.5189, allocations: 487.9 kB / 1.479 GB, free: 3.145 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.52, allocations: 0.5808 MB / 1.48 GB, free: 2.551 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.52, allocations: 0 / 1.48 GB, free: 2.551 MB / 1.17 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001896/0.5219, allocations: 0.7984 MB / 1.481 GB, free: 1.742 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.5219, allocations: 14.41 kB / 1.481 GB, free: 1.73 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.5219, allocations: 4 kB / 1.481 GB, free: 1.727 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005864/0.5225, allocations: 88.64 kB / 1.481 GB, free: 1.637 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006015/0.5231, allocations: 151.8 kB / 1.481 GB, free: 1.488 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/0.5252, allocations: 1.527 MB / 1.483 GB, free: 15.84 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000661/0.5258, allocations: 85.95 kB / 1.483 GB, free: 15.75 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.29e-05/0.5259, allocations: 35.97 kB / 1.483 GB, free: 15.72 MB / 1.186 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.0004311/0.5263, allocations: 266.2 kB / 1.483 GB, free: 15.45 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.5265, allocations: 87.44 kB / 1.483 GB, free: 15.36 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002308/0.5288, allocations: 1.054 MB / 1.484 GB, free: 14.3 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.5288, allocations: 8 kB / 1.484 GB, free: 14.29 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.5288, allocations: 3.938 kB / 1.484 GB, free: 14.29 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.5288, allocations: 3.984 kB / 1.484 GB, free: 14.29 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009854/0.5298, allocations: 0.7391 MB / 1.485 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.5298, allocations: 3.984 kB / 1.485 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005439/0.5304, allocations: 139.8 kB / 1.485 GB, free: 13.36 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004077/0.5308, allocations: 76.72 kB / 1.485 GB, free: 13.28 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.742e-05/0.5308, allocations: 27.97 kB / 1.485 GB, free: 13.25 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001877/0.5327, allocations: 1.543 MB / 1.487 GB, free: 11.59 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5327, allocations: 0 / 1.487 GB, free: 11.59 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001936/0.5346, allocations: 0.9244 MB / 1.487 GB, free: 10.64 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004772/0.5351, allocations: 199.1 kB / 1.488 GB, free: 10.45 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.5352, allocations: 27.94 kB / 1.488 GB, free: 10.42 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005771/0.5358, allocations: 63.92 kB / 1.488 GB, free: 10.36 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.536, allocations: 72.81 kB / 1.488 GB, free: 10.29 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.016e-05/0.5361, allocations: 35.97 kB / 1.488 GB, free: 10.25 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006371/0.5367, allocations: 483 kB / 1.488 GB, free: 9.785 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5367, allocations: 0 / 1.488 GB, free: 9.785 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000878/0.5376, allocations: 315.2 kB / 1.489 GB, free: 9.477 MB / 1.186 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.004211/0.5418, allocations: 2.011 MB / 1.491 GB, free: 7.648 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001677/0.5435, allocations: 0.7609 MB / 1.491 GB, free: 6.875 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.5435, allocations: 4 kB / 1.491 GB, free: 6.871 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009013/0.5444, allocations: 488.5 kB / 1.492 GB, free: 6.383 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.5456, allocations: 295.1 kB / 1.492 GB, free: 6.117 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.5561, allocations: 6.251 MB / 1.498 GB, free: 15.7 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004728/0.5566, allocations: 436 kB / 1.499 GB, free: 15.24 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008763/0.5575, allocations: 278.6 kB / 1.499 GB, free: 14.96 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005654/0.558, allocations: 399.2 kB / 1.499 GB, free: 14.57 MB / 1.201 GB Notification: Performance of SimCode: time 1.032e-06/0.558, allocations: 0 / 1.499 GB, free: 14.57 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06186/0.6199, allocations: 23.64 MB / 1.522 GB, free: 7.246 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/14.44, allocations: 4.609 kB / 1.522 GB, free: 7.242 MB / 1.217 GB " [Timeout remaining time 285] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.csv --start-time 0 --stop-time 1e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 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.csv","/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: 21.087108951993287]