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.001707/0.001707, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002184/0.002184, allocations: 219.4 kB / 22.26 MB, free: 5.125 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.439/1.439, allocations: 230.6 MB / 256 MB, free: 7.961 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.053/3.053, allocations: 0.49 GB / 0.7951 GB, free: 33.18 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.001991/0.001991, allocations: 62.22 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3135, allocations: 176.1 MB / 1.326 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006972/0.3205, allocations: 5.04 MB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1737/0.4941, allocations: 154.1 MB / 1.481 GB, free: 2.18 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007924/0.4949, allocations: 19.88 kB / 1.481 GB, free: 2.16 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000631/0.4956, allocations: 206.1 kB / 1.482 GB, free: 1.957 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001792/0.4974, allocations: 0.5547 MB / 1.482 GB, free: 1.402 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002101/0.4995, allocations: 0.8842 MB / 1.483 GB, free: 0.5234 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001823/0.5013, allocations: 1.397 MB / 1.484 GB, free: 15.12 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007935/0.5021, allocations: 409.9 kB / 1.485 GB, free: 14.7 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007995/0.5029, allocations: 0.4906 MB / 1.485 GB, free: 14.2 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007152/0.5036, allocations: 0.5134 MB / 1.486 GB, free: 13.69 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001753/0.5038, allocations: 116 kB / 1.486 GB, free: 13.57 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.5048, allocations: 0.5113 MB / 1.486 GB, free: 13.06 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002936/0.5051, allocations: 303 kB / 1.487 GB, free: 12.77 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005813/0.5057, allocations: 0.5558 MB / 1.487 GB, free: 12.21 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002308/0.508, allocations: 1.677 MB / 1.489 GB, free: 10.52 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.508, allocations: 0 / 1.489 GB, free: 10.52 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.713e-06/0.508, allocations: 0 / 1.489 GB, free: 10.52 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.507e-05/0.508, allocations: 0 / 1.489 GB, free: 10.52 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.002805/0.5109, allocations: 1.408 MB / 1.49 GB, free: 9.082 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.5109, allocations: 16.03 kB / 1.49 GB, free: 9.066 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001633/0.5111, allocations: 135.3 kB / 1.49 GB, free: 8.926 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.5125, allocations: 232 kB / 1.49 GB, free: 8.699 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.5137, allocations: 0.7218 MB / 1.491 GB, free: 7.949 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.639e-05/0.5138, allocations: 62 kB / 1.491 GB, free: 7.887 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.5139, allocations: 80 kB / 1.491 GB, free: 7.809 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.5155, allocations: 0.9114 MB / 1.492 GB, free: 6.855 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.5155, allocations: 7.875 kB / 1.492 GB, free: 6.848 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.951e-05/0.5156, allocations: 40 kB / 1.492 GB, free: 6.809 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.5156, allocations: 20 kB / 1.492 GB, free: 6.789 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/0.5174, allocations: 1.097 MB / 1.493 GB, free: 5.688 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.004463/0.5218, allocations: 2.774 MB / 1.496 GB, free: 2.781 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.5233, allocations: 0.7425 MB / 1.497 GB, free: 2.027 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004979/0.5238, allocations: 266.7 kB / 1.497 GB, free: 1.766 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.372e-05/0.5238, allocations: 36.59 kB / 1.497 GB, free: 1.73 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008763/0.5247, allocations: 488.6 kB / 1.498 GB, free: 1.234 MB / 1.186 GB Notification: Performance of pre-optimization done (n=78): time 3.246e-06/0.5247, allocations: 0 / 1.498 GB, free: 1.234 MB / 1.186 GB Notification: Performance of matching and sorting (n=78): time 0.003194/0.5279, allocations: 1.103 MB / 1.499 GB, free: 128 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/0.5281, allocations: 200.5 kB / 1.499 GB, free: 15.88 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008851/0.5289, allocations: 0.6567 MB / 1.499 GB, free: 15.22 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.304e-05/0.529, allocations: 45.69 kB / 1.499 GB, free: 15.17 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003616/0.5294, allocations: 409 kB / 1.5 GB, free: 14.76 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.5296, allocations: 261.8 kB / 1.5 GB, free: 14.5 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002177/0.5298, allocations: 146.6 kB / 1.5 GB, free: 14.36 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.53, allocations: 398.7 kB / 1.501 GB, free: 13.96 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004749/0.5305, allocations: 237.9 kB / 1.501 GB, free: 13.72 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005947/0.5311, allocations: 359.4 kB / 1.501 GB, free: 13.34 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.5321, allocations: 0.5807 MB / 1.502 GB, free: 12.75 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5321, allocations: 0 / 1.502 GB, free: 12.75 MB / 1.201 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00187/0.534, allocations: 0.8024 MB / 1.503 GB, free: 11.94 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.534, allocations: 5.562 kB / 1.503 GB, free: 11.93 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.534, allocations: 0 / 1.503 GB, free: 11.93 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006054/0.5346, allocations: 92.77 kB / 1.503 GB, free: 11.84 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005871/0.5352, allocations: 147.7 kB / 1.503 GB, free: 11.7 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.5374, allocations: 1.539 MB / 1.504 GB, free: 10.03 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006328/0.538, allocations: 91.52 kB / 1.504 GB, free: 9.941 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-05/0.5381, allocations: 32.05 kB / 1.504 GB, free: 9.91 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.0004261/0.5385, allocations: 269.3 kB / 1.505 GB, free: 9.641 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.5386, allocations: 91.42 kB / 1.505 GB, free: 9.551 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.5409, allocations: 1.038 MB / 1.506 GB, free: 8.5 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.5409, allocations: 12 kB / 1.506 GB, free: 8.488 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5409, allocations: 3.938 kB / 1.506 GB, free: 8.484 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.541, allocations: 3.984 kB / 1.506 GB, free: 8.48 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.542, allocations: 0.8715 MB / 1.507 GB, free: 7.562 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.542, allocations: 0 / 1.507 GB, free: 7.562 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000544/0.5426, allocations: 139.8 kB / 1.507 GB, free: 7.426 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004467/0.543, allocations: 80.7 kB / 1.507 GB, free: 7.344 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-05/0.5431, allocations: 23.98 kB / 1.507 GB, free: 7.32 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001904/0.545, allocations: 1.562 MB / 1.508 GB, free: 5.641 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.545, allocations: 0 / 1.508 GB, free: 5.641 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.5469, allocations: 0.9166 MB / 1.509 GB, free: 4.699 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004143/0.5473, allocations: 199.1 kB / 1.509 GB, free: 4.504 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.5474, allocations: 16 kB / 1.509 GB, free: 4.488 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005768/0.548, allocations: 67.92 kB / 1.51 GB, free: 4.422 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.5481, allocations: 76.81 kB / 1.51 GB, free: 4.348 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.635e-05/0.5482, allocations: 31.97 kB / 1.51 GB, free: 4.316 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006146/0.5488, allocations: 483 kB / 1.51 GB, free: 3.848 MB / 1.201 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5488, allocations: 0 / 1.51 GB, free: 3.848 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0007879/0.5496, allocations: 327.1 kB / 1.51 GB, free: 3.527 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.00404/0.5536, allocations: 1.983 MB / 1.512 GB, free: 1.703 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0016/0.5552, allocations: 0.7572 MB / 1.513 GB, free: 0.9336 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5552, allocations: 0 / 1.513 GB, free: 0.9336 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0008906/0.5561, allocations: 492.2 kB / 1.514 GB, free: 452 kB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.5573, allocations: 303.3 kB / 1.514 GB, free: 168 kB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.5676, allocations: 6.242 MB / 1.52 GB, free: 9.762 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000683/0.5683, allocations: 1.027 MB / 1.521 GB, free: 8.703 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0007999/0.5691, allocations: 262.7 kB / 1.521 GB, free: 8.441 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005611/0.5697, allocations: 395.2 kB / 1.522 GB, free: 8.055 MB / 1.217 GB Notification: Performance of SimCode: time 7.72e-07/0.5697, allocations: 0 / 1.522 GB, free: 8.055 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0614/0.6311, allocations: 22.42 MB / 1.543 GB, free: 1.863 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.66/15.29, allocations: 8.109 kB / 1.543 GB, free: 1.859 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 & 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: 22.022487619000458]