Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.001582/0.001582, allocations: 106.1 kB / 16.45 MB, free: 6.035 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.001629/0.001629, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.371/1.371, allocations: 225.6 MB / 247.8 MB, free: 13.91 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.792/2.792, allocations: 476.7 MB / 0.7611 GB, free: 11.28 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.SimpleHouse3,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67.89 kB / 1.104 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7976/0.7996, allocations: 168.7 MB / 1.269 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1978/0.9974, allocations: 166.6 MB / 1.431 GB, free: 13.93 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0133/1.011, allocations: 7.849 MB / 1.439 GB, free: 6.055 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00137/1.012, allocations: 39.81 kB / 1.439 GB, free: 6.016 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001312/1.013, allocations: 412.9 kB / 1.44 GB, free: 5.609 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003894/1.017, allocations: 1.337 MB / 1.441 GB, free: 4.27 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00318/1.02, allocations: 1.19 MB / 1.442 GB, free: 3.086 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003634/1.024, allocations: 2.353 MB / 1.444 GB, free: 0.7266 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001955/1.026, allocations: 0.9716 MB / 1.445 GB, free: 15.73 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/1.028, allocations: 0.8329 MB / 1.446 GB, free: 14.89 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001809/1.03, allocations: 0.8129 MB / 1.447 GB, free: 14.08 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004291/1.03, allocations: 152 kB / 1.447 GB, free: 13.93 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002656/1.033, allocations: 1.162 MB / 1.448 GB, free: 12.77 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006485/1.033, allocations: 442.5 kB / 1.449 GB, free: 12.34 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0011/1.034, allocations: 0.7851 MB / 1.449 GB, free: 11.55 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004618/1.039, allocations: 2.421 MB / 1.452 GB, free: 9.117 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.039, allocations: 0 / 1.452 GB, free: 9.117 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.034e-06/1.039, allocations: 0 / 1.452 GB, free: 9.117 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.312e-05/1.039, allocations: 0 / 1.452 GB, free: 9.117 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.004107/1.043, allocations: 1.927 MB / 1.454 GB, free: 7.129 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/1.043, allocations: 16.02 kB / 1.454 GB, free: 7.113 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002476/1.043, allocations: 165 kB / 1.454 GB, free: 6.941 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001972/1.045, allocations: 338.7 kB / 1.454 GB, free: 6.609 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002002/1.047, allocations: 1.031 MB / 1.455 GB, free: 5.531 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.059e-05/1.047, allocations: 78.2 kB / 1.455 GB, free: 5.453 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/1.048, allocations: 108 kB / 1.455 GB, free: 5.348 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/1.05, allocations: 1.18 MB / 1.456 GB, free: 4.098 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/1.05, allocations: 0 / 1.456 GB, free: 4.098 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/1.05, allocations: 48 kB / 1.456 GB, free: 4.051 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.965e-05/1.05, allocations: 42.06 kB / 1.457 GB, free: 4.008 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002328/1.052, allocations: 1.312 MB / 1.458 GB, free: 2.688 MB / 1.154 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.006517/1.059, allocations: 3.812 MB / 1.462 GB, free: 14.66 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/1.061, allocations: 0.9381 MB / 1.462 GB, free: 13.72 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007014/1.062, allocations: 371.6 kB / 1.463 GB, free: 13.36 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 9.38e-05/1.062, allocations: 33.03 kB / 1.463 GB, free: 13.33 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/1.063, allocations: 0.5887 MB / 1.463 GB, free: 12.72 MB / 1.17 GB Notification: Performance of pre-optimization done (n=102): time 2.535e-06/1.063, allocations: 0 / 1.463 GB, free: 12.72 MB / 1.17 GB Notification: Performance of matching and sorting (n=102): time 0.003893/1.067, allocations: 1.446 MB / 1.465 GB, free: 11.25 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001449/1.067, allocations: 196.9 kB / 1.465 GB, free: 11.01 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/1.068, allocations: 0.8302 MB / 1.466 GB, free: 10.16 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001518/1.068, allocations: 49.64 kB / 1.466 GB, free: 10.1 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005178/1.069, allocations: 0.5363 MB / 1.466 GB, free: 9.559 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004109/1.069, allocations: 364.9 kB / 1.467 GB, free: 9.199 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003082/1.069, allocations: 178.6 kB / 1.467 GB, free: 9.02 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.07, allocations: 341.9 kB / 1.467 GB, free: 8.68 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006588/1.07, allocations: 317.8 kB / 1.468 GB, free: 8.371 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008219/1.071, allocations: 467.7 kB / 1.468 GB, free: 7.867 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/1.073, allocations: 0.7814 MB / 1.469 GB, free: 7.059 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/1.073, allocations: 4 kB / 1.469 GB, free: 7.055 MB / 1.17 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002471/1.075, allocations: 1.025 MB / 1.47 GB, free: 6.016 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/1.075, allocations: 8 kB / 1.47 GB, free: 6.008 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/1.075, allocations: 0 / 1.47 GB, free: 6.008 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005831/1.076, allocations: 85 kB / 1.47 GB, free: 5.922 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008692/1.077, allocations: 207.7 kB / 1.47 GB, free: 5.719 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/1.079, allocations: 1.646 MB / 1.472 GB, free: 3.93 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/1.08, allocations: 107.4 kB / 1.472 GB, free: 3.824 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.517e-05/1.08, allocations: 39.98 kB / 1.472 GB, free: 3.785 MB / 1.17 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.0006139/1.081, allocations: 317.5 kB / 1.472 GB, free: 3.465 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002567/1.081, allocations: 119.2 kB / 1.472 GB, free: 3.348 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002868/1.084, allocations: 1.24 MB / 1.473 GB, free: 2.09 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/1.084, allocations: 15.98 kB / 1.473 GB, free: 2.074 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.084, allocations: 3.984 kB / 1.473 GB, free: 2.07 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/1.084, allocations: 3.984 kB / 1.473 GB, free: 2.066 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/1.086, allocations: 1.177 MB / 1.475 GB, free: 0.8398 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/1.086, allocations: 0 / 1.475 GB, free: 0.8398 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009282/1.086, allocations: 207.7 kB / 1.475 GB, free: 0.6367 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004675/1.087, allocations: 76.78 kB / 1.475 GB, free: 0.5586 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.846e-05/1.087, allocations: 23.98 kB / 1.475 GB, free: 0.5352 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/1.089, allocations: 1.662 MB / 1.476 GB, free: 14.73 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.089, allocations: 4.062 kB / 1.476 GB, free: 14.72 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00346/1.093, allocations: 1.574 MB / 1.478 GB, free: 13.12 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000708/1.093, allocations: 332 kB / 1.478 GB, free: 12.78 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/1.094, allocations: 28 kB / 1.478 GB, free: 12.75 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008381/1.094, allocations: 65.8 kB / 1.478 GB, free: 12.69 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/1.095, allocations: 80.89 kB / 1.479 GB, free: 12.61 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.083e-05/1.095, allocations: 43.97 kB / 1.479 GB, free: 12.57 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0009258/1.096, allocations: 0.5898 MB / 1.479 GB, free: 11.97 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/1.096, allocations: 0 / 1.479 GB, free: 11.97 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001182/1.097, allocations: 427 kB / 1.48 GB, free: 11.55 MB / 1.186 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.005704/1.102, allocations: 2.656 MB / 1.482 GB, free: 9.062 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002189/1.105, allocations: 0.9326 MB / 1.483 GB, free: 8.113 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.105, allocations: 0 / 1.483 GB, free: 8.113 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001168/1.106, allocations: 0.571 MB / 1.484 GB, free: 7.531 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002064/1.108, allocations: 499.8 kB / 1.484 GB, free: 7.062 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/1.123, allocations: 8.255 MB / 1.492 GB, free: 14.63 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009324/1.124, allocations: 1.158 MB / 1.493 GB, free: 13.44 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001205/1.125, allocations: 321.2 kB / 1.494 GB, free: 13.12 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008201/1.126, allocations: 0.5071 MB / 1.494 GB, free: 12.62 MB / 1.201 GB Notification: Performance of SimCode: time 1.122e-06/1.126, allocations: 4 kB / 1.494 GB, free: 12.61 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09566/1.222, allocations: 29.76 MB / 1.523 GB, free: 15.18 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.95/17.17, allocations: 3.938 kB / 1.523 GB, free: 15.18 MB / 1.232 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 23.33722376311198]