Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 102.7 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001983/0.001983, allocations: 192.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.591/2.591, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 63.91 kB / 1.104 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7155/0.7174, allocations: 168.7 MB / 1.269 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.00698/0.7244, allocations: 5.264 MB / 1.274 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1704/0.8947, allocations: 151.1 MB / 1.421 GB, free: 8.23 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009929/0.8957, allocations: 19.88 kB / 1.421 GB, free: 8.211 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0008237/0.8965, allocations: 206.1 kB / 1.422 GB, free: 8.008 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001808/0.8983, allocations: 0.5637 MB / 1.422 GB, free: 7.445 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.9003, allocations: 0.8537 MB / 1.423 GB, free: 6.598 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001864/0.9022, allocations: 1.451 MB / 1.424 GB, free: 5.141 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007922/0.903, allocations: 446 kB / 1.425 GB, free: 4.676 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008215/0.9038, allocations: 0.4944 MB / 1.425 GB, free: 4.18 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007426/0.9045, allocations: 0.5329 MB / 1.426 GB, free: 3.645 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001816/0.9047, allocations: 120 kB / 1.426 GB, free: 3.527 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009841/0.9057, allocations: 487.6 kB / 1.426 GB, free: 3.051 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003011/0.906, allocations: 314.9 kB / 1.427 GB, free: 2.742 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.000566/0.9066, allocations: 0.583 MB / 1.427 GB, free: 2.156 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002209/0.9088, allocations: 1.7 MB / 1.429 GB, free: 460 kB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.9088, allocations: 4 kB / 1.429 GB, free: 456 kB / 1.123 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9088, allocations: 4 kB / 1.429 GB, free: 452 kB / 1.123 GB Notification: Performance of Transformations before backend: time 2.932e-05/0.9088, allocations: 0 / 1.429 GB, free: 452 kB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002849/0.9117, allocations: 1.532 MB / 1.431 GB, free: 14.86 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.9117, allocations: 8.031 kB / 1.431 GB, free: 14.85 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001653/0.9119, allocations: 139.7 kB / 1.431 GB, free: 14.71 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009325/0.9128, allocations: 200 kB / 1.431 GB, free: 14.51 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.9142, allocations: 0.794 MB / 1.432 GB, free: 13.68 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.292e-05/0.9143, allocations: 66 kB / 1.432 GB, free: 13.61 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.9144, allocations: 84 kB / 1.432 GB, free: 13.53 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.9162, allocations: 0.9496 MB / 1.433 GB, free: 12.54 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.9162, allocations: 3.938 kB / 1.433 GB, free: 12.54 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.828e-05/0.9163, allocations: 43.98 kB / 1.433 GB, free: 12.49 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/0.9163, allocations: 20 kB / 1.433 GB, free: 12.47 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.9183, allocations: 1.136 MB / 1.434 GB, free: 11.34 MB / 1.139 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.004723/0.923, allocations: 2.791 MB / 1.437 GB, free: 8.426 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.9247, allocations: 0.7972 MB / 1.437 GB, free: 7.617 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005621/0.9252, allocations: 300.9 kB / 1.438 GB, free: 7.32 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.039e-05/0.9253, allocations: 34.75 kB / 1.438 GB, free: 7.289 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009086/0.9262, allocations: 0.5042 MB / 1.438 GB, free: 6.77 MB / 1.139 GB Notification: Performance of pre-optimization done (n=85): time 4.609e-06/0.9262, allocations: 3.984 kB / 1.438 GB, free: 6.766 MB / 1.139 GB Notification: Performance of matching and sorting (n=85): time 0.003371/0.9296, allocations: 1.251 MB / 1.439 GB, free: 5.488 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.9297, allocations: 196.9 kB / 1.44 GB, free: 5.254 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008736/0.9306, allocations: 0.6451 MB / 1.44 GB, free: 4.598 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.019e-05/0.9307, allocations: 41.7 kB / 1.44 GB, free: 4.551 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000419/0.9311, allocations: 433 kB / 1.441 GB, free: 4.121 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002804/0.9314, allocations: 285.5 kB / 1.441 GB, free: 3.84 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002607/0.9316, allocations: 154.6 kB / 1.441 GB, free: 3.684 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002411/0.9319, allocations: 386.8 kB / 1.441 GB, free: 3.297 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005284/0.9324, allocations: 257.9 kB / 1.442 GB, free: 3.043 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006526/0.933, allocations: 378.5 kB / 1.442 GB, free: 2.648 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.9341, allocations: 0.6047 MB / 1.443 GB, free: 2.035 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.9341, allocations: 0 / 1.443 GB, free: 2.035 MB / 1.139 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002001/0.9361, allocations: 0.8375 MB / 1.443 GB, free: 1.184 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.9362, allocations: 4 kB / 1.443 GB, free: 1.18 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.9362, allocations: 0 / 1.443 GB, free: 1.18 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006024/0.9368, allocations: 80.88 kB / 1.444 GB, free: 1.098 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006581/0.9374, allocations: 167.7 kB / 1.444 GB, free: 0.9336 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/0.9397, allocations: 1.63 MB / 1.445 GB, free: 15.16 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007785/0.9405, allocations: 83.53 kB / 1.445 GB, free: 15.07 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.699e-05/0.9406, allocations: 35.98 kB / 1.445 GB, free: 15.04 MB / 1.154 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 (92): * Single equations (assignments): 91 * 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.0004594/0.941, allocations: 277.8 kB / 1.446 GB, free: 14.76 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.9412, allocations: 99.31 kB / 1.446 GB, free: 14.66 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002476/0.9437, allocations: 1.09 MB / 1.447 GB, free: 13.56 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.9437, allocations: 12 kB / 1.447 GB, free: 13.55 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.9437, allocations: 3.984 kB / 1.447 GB, free: 13.54 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.9437, allocations: 3.984 kB / 1.447 GB, free: 13.54 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.9449, allocations: 0.9232 MB / 1.448 GB, free: 12.57 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.9449, allocations: 7.875 kB / 1.448 GB, free: 12.56 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000648/0.9455, allocations: 163.8 kB / 1.448 GB, free: 12.4 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000435/0.946, allocations: 68.8 kB / 1.448 GB, free: 12.33 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.16e-05/0.946, allocations: 27.97 kB / 1.448 GB, free: 12.3 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001991/0.948, allocations: 1.658 MB / 1.45 GB, free: 10.5 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.948, allocations: 0 / 1.45 GB, free: 10.5 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002774/0.9508, allocations: 1.379 MB / 1.451 GB, free: 9.098 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004996/0.9513, allocations: 284.2 kB / 1.451 GB, free: 8.801 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.9514, allocations: 20 kB / 1.451 GB, free: 8.781 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006147/0.952, allocations: 71.92 kB / 1.451 GB, free: 8.711 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.9522, allocations: 72.89 kB / 1.451 GB, free: 8.641 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-05/0.9523, allocations: 35.98 kB / 1.451 GB, free: 8.605 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006445/0.9529, allocations: 475 kB / 1.452 GB, free: 8.145 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.9529, allocations: 4 kB / 1.452 GB, free: 8.141 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009041/0.9538, allocations: 335.1 kB / 1.452 GB, free: 7.812 MB / 1.154 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 (96): * Single equations (assignments): 90 * 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.004841/0.9586, allocations: 2.424 MB / 1.455 GB, free: 5.547 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001617/0.9603, allocations: 0.7961 MB / 1.455 GB, free: 4.738 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.9603, allocations: 4 kB / 1.455 GB, free: 4.734 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009304/0.9612, allocations: 0.4965 MB / 1.456 GB, free: 4.227 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.9624, allocations: 317.1 kB / 1.456 GB, free: 3.945 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.9735, allocations: 6.544 MB / 1.463 GB, free: 13.24 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006619/0.9741, allocations: 1.039 MB / 1.464 GB, free: 12.17 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008358/0.975, allocations: 266.9 kB / 1.464 GB, free: 11.91 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005469/0.9755, allocations: 407.3 kB / 1.464 GB, free: 11.51 MB / 1.17 GB Notification: Performance of SimCode: time 7.71e-07/0.9755, allocations: 0 / 1.464 GB, free: 11.51 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06011/1.036, allocations: 22.37 MB / 1.486 GB, free: 5.391 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/14.93, allocations: 16.09 kB / 1.486 GB, free: 5.383 MB / 1.186 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.779189612716436]