Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.001393/0.001393, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.002257/0.002257, allocations: 220 kB / 22.24 MB, free: 5.109 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.828 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.174/3.174, allocations: 0.4892 GB / 0.7943 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] 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.SimpleHouse3,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",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.002085/0.002085, allocations: 69.8 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3705, allocations: 176.1 MB / 1.325 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1956/0.5661, allocations: 146.3 MB / 1.468 GB, free: 15.49 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01476/0.5808, allocations: 7.526 MB / 1.475 GB, free: 7.941 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00173/0.5826, allocations: 47.62 kB / 1.475 GB, free: 7.895 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001556/0.5841, allocations: 393 kB / 1.476 GB, free: 7.508 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004574/0.5887, allocations: 1.377 MB / 1.477 GB, free: 6.129 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003487/0.5922, allocations: 1.194 MB / 1.478 GB, free: 4.941 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004002/0.5962, allocations: 2.406 MB / 1.481 GB, free: 2.527 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002378/0.5986, allocations: 0.9565 MB / 1.482 GB, free: 1.547 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002038/0.6006, allocations: 0.8992 MB / 1.482 GB, free: 0.6445 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002082/0.6027, allocations: 0.7583 MB / 1.483 GB, free: 15.89 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0005408/0.6032, allocations: 156 kB / 1.483 GB, free: 15.73 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002812/0.606, allocations: 1.018 MB / 1.484 GB, free: 14.71 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007446/0.6068, allocations: 438.6 kB / 1.485 GB, free: 14.29 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001466/0.6082, allocations: 0.6454 MB / 1.485 GB, free: 13.64 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00556/0.6138, allocations: 2.456 MB / 1.488 GB, free: 11.17 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.6138, allocations: 0 / 1.488 GB, free: 11.17 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.755e-06/0.6138, allocations: 0 / 1.488 GB, free: 11.17 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.251e-05/0.6139, allocations: 4 kB / 1.488 GB, free: 11.17 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.004871/0.6188, allocations: 1.883 MB / 1.49 GB, free: 9.242 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.6188, allocations: 12.03 kB / 1.49 GB, free: 9.23 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003526/0.6192, allocations: 168.9 kB / 1.49 GB, free: 9.055 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002727/0.6219, allocations: 378.6 kB / 1.49 GB, free: 8.684 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002379/0.6243, allocations: 0.9551 MB / 1.491 GB, free: 7.691 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-05/0.6244, allocations: 82.2 kB / 1.491 GB, free: 7.609 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/0.6246, allocations: 111.9 kB / 1.491 GB, free: 7.5 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002721/0.6273, allocations: 1.527 MB / 1.493 GB, free: 5.816 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.519e-05/0.6273, allocations: 0 / 1.493 GB, free: 5.816 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.6275, allocations: 48 kB / 1.493 GB, free: 5.77 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.315e-05/0.6275, allocations: 42.06 kB / 1.493 GB, free: 5.727 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002503/0.63, allocations: 1.261 MB / 1.494 GB, free: 4.457 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.006562/0.6366, allocations: 2.915 MB / 1.497 GB, free: 1.469 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002085/0.6387, allocations: 0.9442 MB / 1.498 GB, free: 0.5156 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007376/0.6394, allocations: 365.4 kB / 1.498 GB, free: 164 kB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.495e-05/0.6395, allocations: 24.98 kB / 1.498 GB, free: 140 kB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001365/0.6409, allocations: 0.7961 MB / 1.499 GB, free: 15.27 MB / 1.201 GB Notification: Performance of pre-optimization done (n=102): time 3.216e-06/0.6409, allocations: 0 / 1.499 GB, free: 15.27 MB / 1.201 GB Notification: Performance of matching and sorting (n=102): time 0.004114/0.645, allocations: 1.367 MB / 1.5 GB, free: 13.89 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/0.6451, allocations: 196.9 kB / 1.5 GB, free: 13.66 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/0.6466, allocations: 0.8586 MB / 1.501 GB, free: 12.77 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001821/0.6468, allocations: 53.69 kB / 1.501 GB, free: 12.71 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005668/0.6474, allocations: 0.5401 MB / 1.502 GB, free: 12.17 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000459/0.6478, allocations: 360.9 kB / 1.502 GB, free: 11.82 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003259/0.6482, allocations: 182.6 kB / 1.502 GB, free: 11.63 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.6483, allocations: 345.9 kB / 1.503 GB, free: 11.29 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000742/0.6491, allocations: 309.8 kB / 1.503 GB, free: 10.99 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009531/0.65, allocations: 0.5861 MB / 1.504 GB, free: 10.32 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.6516, allocations: 0.7776 MB / 1.504 GB, free: 9.516 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.6516, allocations: 3.938 kB / 1.504 GB, free: 9.512 MB / 1.201 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002717/0.6543, allocations: 1.032 MB / 1.505 GB, free: 8.469 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.6543, allocations: 8 kB / 1.505 GB, free: 8.461 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.6544, allocations: 0 / 1.505 GB, free: 8.461 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006533/0.655, allocations: 92.97 kB / 1.505 GB, free: 8.367 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009149/0.6559, allocations: 203.7 kB / 1.506 GB, free: 8.168 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002401/0.6583, allocations: 1.523 MB / 1.507 GB, free: 6.527 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.6597, allocations: 107.4 kB / 1.507 GB, free: 6.422 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.6598, allocations: 40.03 kB / 1.507 GB, free: 6.383 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (116): * Single equations (assignments): 115 * 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.0007866/0.6606, allocations: 322.3 kB / 1.508 GB, free: 6.059 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003798/0.661, allocations: 123.2 kB / 1.508 GB, free: 5.938 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003103/0.6641, allocations: 1.248 MB / 1.509 GB, free: 4.676 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.6641, allocations: 12 kB / 1.509 GB, free: 4.664 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.6641, allocations: 0 / 1.509 GB, free: 4.664 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/0.6641, allocations: 7.984 kB / 1.509 GB, free: 4.656 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/0.666, allocations: 0.9816 MB / 1.51 GB, free: 3.633 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.666, allocations: 0 / 1.51 GB, free: 3.633 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009599/0.6669, allocations: 203.7 kB / 1.51 GB, free: 3.434 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004965/0.6674, allocations: 76.78 kB / 1.51 GB, free: 3.355 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.6675, allocations: 31.97 kB / 1.51 GB, free: 3.324 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002239/0.6698, allocations: 1.548 MB / 1.512 GB, free: 1.656 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.6698, allocations: 0 / 1.512 GB, free: 1.656 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003723/0.6735, allocations: 1.583 MB / 1.513 GB, free: 56 kB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000914/0.6744, allocations: 258.8 kB / 1.514 GB, free: 15.8 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002298/0.6746, allocations: 27.98 kB / 1.514 GB, free: 15.77 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009105/0.6755, allocations: 69.72 kB / 1.514 GB, free: 15.71 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/0.6758, allocations: 88.83 kB / 1.514 GB, free: 15.62 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.559e-05/0.6759, allocations: 39.98 kB / 1.514 GB, free: 15.58 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001061/0.6769, allocations: 0.6022 MB / 1.514 GB, free: 14.97 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.6769, allocations: 0 / 1.514 GB, free: 14.97 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001388/0.6783, allocations: 431 kB / 1.515 GB, free: 14.55 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.00623/0.6845, allocations: 2.695 MB / 1.517 GB, free: 12.03 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002503/0.6871, allocations: 0.9288 MB / 1.518 GB, free: 11.09 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.6871, allocations: 3.938 kB / 1.518 GB, free: 11.08 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.6883, allocations: 0.5748 MB / 1.519 GB, free: 10.5 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/0.6908, allocations: 497.6 kB / 1.519 GB, free: 10.04 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01701/0.7078, allocations: 8.317 MB / 1.527 GB, free: 1.535 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009043/0.7087, allocations: 0.5715 MB / 1.528 GB, free: 0.9297 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001447/0.7102, allocations: 325.3 kB / 1.528 GB, free: 0.6094 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00104/0.7112, allocations: 0.5265 MB / 1.529 GB, free: 84 kB / 1.217 GB Notification: Performance of SimCode: time 1.102e-06/0.7112, allocations: 0 / 1.529 GB, free: 84 kB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09258/0.8038, allocations: 32.31 MB / 1.56 GB, free: 220 kB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.38/15.18, allocations: 13.84 kB / 1.56 GB, free: 212 kB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.225387616083026]