Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.001741/0.001741, 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.002215/0.002215, allocations: 212.3 kB / 22.25 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.388/1.388, allocations: 230.6 MB / 256 MB, free: 7.809 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.009/3.009, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 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.SimpleHouse1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",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.002115/0.002115, allocations: 66.56 kB / 1.153 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3403, allocations: 176.1 MB / 1.325 GB, free: 2.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.0073/0.3476, allocations: 4.68 MB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.161/0.5086, allocations: 132.7 MB / 1.459 GB, free: 8.43 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009199/0.5095, allocations: 23.81 kB / 1.459 GB, free: 8.406 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008393/0.5104, allocations: 206.1 kB / 1.459 GB, free: 8.203 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002396/0.5128, allocations: 0.5852 MB / 1.46 GB, free: 7.621 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002426/0.5152, allocations: 0.8622 MB / 1.461 GB, free: 6.762 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002184/0.5174, allocations: 1.447 MB / 1.462 GB, free: 5.309 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.5184, allocations: 406.2 kB / 1.463 GB, free: 4.887 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.5195, allocations: 0.5139 MB / 1.463 GB, free: 4.371 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008911/0.5204, allocations: 477.7 kB / 1.464 GB, free: 3.902 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003204/0.5207, allocations: 120 kB / 1.464 GB, free: 3.785 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.5219, allocations: 0.4918 MB / 1.464 GB, free: 3.293 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003997/0.5223, allocations: 307 kB / 1.465 GB, free: 2.992 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007183/0.523, allocations: 481.7 kB / 1.465 GB, free: 2.52 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002774/0.5258, allocations: 1.732 MB / 1.467 GB, free: 0.7812 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5258, allocations: 4 kB / 1.467 GB, free: 0.7773 MB / 1.154 GB Notification: Performance of FrontEnd: time 3.557e-06/0.5258, allocations: 3.984 kB / 1.467 GB, free: 0.7734 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.544e-05/0.5258, allocations: 0 / 1.467 GB, free: 0.7734 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003267/0.5291, allocations: 1.451 MB / 1.468 GB, free: 15.29 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.5292, allocations: 8.031 kB / 1.468 GB, free: 15.28 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002297/0.5294, allocations: 147.6 kB / 1.468 GB, free: 15.13 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/0.5309, allocations: 232 kB / 1.468 GB, free: 14.9 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/0.5325, allocations: 0.7219 MB / 1.469 GB, free: 14.15 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.756e-05/0.5326, allocations: 62 kB / 1.469 GB, free: 14.09 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.5328, allocations: 87.98 kB / 1.469 GB, free: 14 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/0.5348, allocations: 1.185 MB / 1.47 GB, free: 12.71 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.237e-05/0.5348, allocations: 3.984 kB / 1.47 GB, free: 12.71 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.963e-05/0.5349, allocations: 39.94 kB / 1.47 GB, free: 12.67 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.5349, allocations: 24 kB / 1.471 GB, free: 12.65 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/0.5369, allocations: 1.077 MB / 1.472 GB, free: 11.57 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.004662/0.5416, allocations: 2.278 MB / 1.474 GB, free: 9.227 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.5432, allocations: 0.7556 MB / 1.475 GB, free: 8.465 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005694/0.5438, allocations: 278.7 kB / 1.475 GB, free: 8.191 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.384e-05/0.5439, allocations: 28.62 kB / 1.475 GB, free: 8.164 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009652/0.5448, allocations: 0.5858 MB / 1.475 GB, free: 7.535 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 3.076e-06/0.5448, allocations: 0 / 1.475 GB, free: 7.535 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.003383/0.5482, allocations: 1.138 MB / 1.477 GB, free: 6.387 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.5483, allocations: 192.6 kB / 1.477 GB, free: 6.156 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009713/0.5493, allocations: 0.6762 MB / 1.477 GB, free: 5.473 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001108/0.5494, allocations: 41.69 kB / 1.477 GB, free: 5.426 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003915/0.5498, allocations: 429 kB / 1.478 GB, free: 5 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002766/0.5501, allocations: 273.7 kB / 1.478 GB, free: 4.73 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/0.5503, allocations: 154.5 kB / 1.478 GB, free: 4.574 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002043/0.5505, allocations: 386.8 kB / 1.479 GB, free: 4.188 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005363/0.5511, allocations: 249.9 kB / 1.479 GB, free: 3.941 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007276/0.5518, allocations: 491.1 kB / 1.479 GB, free: 3.406 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.5529, allocations: 0.5955 MB / 1.48 GB, free: 2.805 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.5529, allocations: 0 / 1.48 GB, free: 2.805 MB / 1.17 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002065/0.555, allocations: 0.8256 MB / 1.481 GB, free: 1.965 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.555, allocations: 4 kB / 1.481 GB, free: 1.961 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.555, allocations: 4 kB / 1.481 GB, free: 1.957 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000626/0.5557, allocations: 80.88 kB / 1.481 GB, free: 1.875 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006966/0.5564, allocations: 155.8 kB / 1.481 GB, free: 1.723 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/0.5586, allocations: 1.523 MB / 1.482 GB, free: 80 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009171/0.5595, allocations: 103.4 kB / 1.482 GB, free: 15.98 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.985e-05/0.5596, allocations: 31.97 kB / 1.483 GB, free: 15.95 MB / 1.186 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 (89): * Single equations (assignments): 88 * 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.0007009/0.5603, allocations: 258.2 kB / 1.483 GB, free: 15.68 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002394/0.5605, allocations: 91.44 kB / 1.483 GB, free: 15.59 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002525/0.5631, allocations: 1.085 MB / 1.484 GB, free: 14.5 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.5631, allocations: 8 kB / 1.484 GB, free: 14.49 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.5631, allocations: 0 / 1.484 GB, free: 14.49 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.5631, allocations: 3.984 kB / 1.484 GB, free: 14.48 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.5643, allocations: 0.7625 MB / 1.485 GB, free: 13.68 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.5643, allocations: 0 / 1.485 GB, free: 13.68 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006647/0.565, allocations: 159.7 kB / 1.485 GB, free: 13.52 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004564/0.5654, allocations: 68.78 kB / 1.485 GB, free: 13.45 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.521e-05/0.5655, allocations: 27.97 kB / 1.485 GB, free: 13.43 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/0.5675, allocations: 1.539 MB / 1.486 GB, free: 11.76 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5675, allocations: 4.062 kB / 1.486 GB, free: 11.76 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00291/0.5704, allocations: 1.344 MB / 1.488 GB, free: 10.4 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005627/0.571, allocations: 207 kB / 1.488 GB, free: 10.2 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.5712, allocations: 23.94 kB / 1.488 GB, free: 10.17 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006572/0.5718, allocations: 66.31 kB / 1.488 GB, free: 10.11 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/0.572, allocations: 84.72 kB / 1.488 GB, free: 10.02 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.842e-05/0.5721, allocations: 35.98 kB / 1.488 GB, free: 9.988 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007143/0.5728, allocations: 487 kB / 1.489 GB, free: 9.516 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5728, allocations: 4.062 kB / 1.489 GB, free: 9.512 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009396/0.5737, allocations: 335.1 kB / 1.489 GB, free: 9.184 MB / 1.186 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 (93): * Single equations (assignments): 87 * 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.005208/0.5789, allocations: 2.421 MB / 1.491 GB, free: 6.941 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001943/0.5809, allocations: 0.7806 MB / 1.492 GB, free: 6.145 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.5809, allocations: 0 / 1.492 GB, free: 6.145 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.5819, allocations: 496.2 kB / 1.493 GB, free: 5.652 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.5834, allocations: 309 kB / 1.493 GB, free: 5.367 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/0.5954, allocations: 6.467 MB / 1.499 GB, free: 14.75 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.5959, allocations: 450.5 kB / 1.5 GB, free: 14.28 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009187/0.5968, allocations: 262.8 kB / 1.5 GB, free: 14.02 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006387/0.5975, allocations: 411.2 kB / 1.5 GB, free: 13.61 MB / 1.201 GB Notification: Performance of SimCode: time 1.292e-06/0.5975, allocations: 0 / 1.5 GB, free: 13.61 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06524/0.6627, allocations: 23.89 MB / 1.524 GB, free: 6.031 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.02/14.68, allocations: 11.31 kB / 1.524 GB, free: 6.023 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.28624328924343]