Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006868/0.006868, allocations: 103.3 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 189 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.576/2.576, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 71.83 kB / 1.054 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9829/0.9842, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007471/0.9917, allocations: 5.242 MB / 1.213 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1723/1.164, allocations: 150.7 MB / 1.36 GB, free: 1.109 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/1.165, allocations: 15.94 kB / 1.36 GB, free: 1.094 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000695/1.166, allocations: 206.1 kB / 1.36 GB, free: 0.8906 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002091/1.168, allocations: 0.5588 MB / 1.361 GB, free: 340 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002321/1.171, allocations: 0.8532 MB / 1.362 GB, free: 15.48 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001568/1.172, allocations: 1.447 MB / 1.363 GB, free: 14.03 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008495/1.173, allocations: 0.6113 MB / 1.364 GB, free: 13.4 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000718/1.174, allocations: 0.5021 MB / 1.364 GB, free: 12.9 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007253/1.174, allocations: 0.529 MB / 1.365 GB, free: 12.37 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001772/1.175, allocations: 120 kB / 1.365 GB, free: 12.25 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/1.176, allocations: 487.6 kB / 1.365 GB, free: 11.77 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003299/1.176, allocations: 307 kB / 1.365 GB, free: 11.47 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005485/1.177, allocations: 0.5868 MB / 1.366 GB, free: 10.88 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001965/1.179, allocations: 1.684 MB / 1.368 GB, free: 9.195 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.179, allocations: 4 kB / 1.368 GB, free: 9.191 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.114e-06/1.179, allocations: 3.938 kB / 1.368 GB, free: 9.188 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.118e-05/1.179, allocations: 0 / 1.368 GB, free: 9.188 MB / 1.092 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.002543/1.181, allocations: 1.485 MB / 1.369 GB, free: 7.648 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/1.181, allocations: 8.031 kB / 1.369 GB, free: 7.641 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009313/1.182, allocations: 199.3 kB / 1.369 GB, free: 7.445 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/1.184, allocations: 0.7818 MB / 1.37 GB, free: 6.621 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.317e-05/1.184, allocations: 66 kB / 1.37 GB, free: 6.559 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/1.184, allocations: 88 kB / 1.37 GB, free: 6.473 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/1.185, allocations: 0.9496 MB / 1.371 GB, free: 5.48 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/1.185, allocations: 4 kB / 1.371 GB, free: 5.477 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.675e-05/1.185, allocations: 36 kB / 1.371 GB, free: 5.441 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/1.185, allocations: 20 kB / 1.371 GB, free: 5.422 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001756/1.187, allocations: 1.143 MB / 1.372 GB, free: 4.281 MB / 1.092 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.004019/1.191, allocations: 2.786 MB / 1.375 GB, free: 1.371 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/1.193, allocations: 0.8397 MB / 1.376 GB, free: 0.5234 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005383/1.193, allocations: 322.7 kB / 1.376 GB, free: 208 kB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.91e-05/1.193, allocations: 36.67 kB / 1.376 GB, free: 172 kB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008798/1.194, allocations: 0.5062 MB / 1.377 GB, free: 15.65 MB / 1.107 GB Notification: Performance of pre-optimization done (n=85): time 2.785e-06/1.194, allocations: 0 / 1.377 GB, free: 15.65 MB / 1.107 GB Notification: Performance of matching and sorting (n=85): time 0.003266/1.198, allocations: 1.243 MB / 1.378 GB, free: 14.38 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/1.198, allocations: 192.9 kB / 1.378 GB, free: 14.14 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007647/1.199, allocations: 0.6566 MB / 1.379 GB, free: 13.48 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.259e-05/1.199, allocations: 45.64 kB / 1.379 GB, free: 13.43 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002909/1.199, allocations: 408.5 kB / 1.379 GB, free: 13.02 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/1.199, allocations: 283.9 kB / 1.379 GB, free: 12.74 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002435/1.199, allocations: 174.5 kB / 1.38 GB, free: 12.57 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001569/1.2, allocations: 390.8 kB / 1.38 GB, free: 12.18 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005279/1.2, allocations: 273.8 kB / 1.38 GB, free: 11.91 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006493/1.201, allocations: 379.1 kB / 1.381 GB, free: 11.52 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/1.202, allocations: 0.6281 MB / 1.381 GB, free: 10.89 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.202, allocations: 4 kB / 1.381 GB, free: 10.88 MB / 1.107 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001961/1.204, allocations: 0.8876 MB / 1.382 GB, free: 9.984 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/1.204, allocations: 8 kB / 1.382 GB, free: 9.977 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/1.204, allocations: 64 / 1.382 GB, free: 9.977 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000605/1.205, allocations: 88.86 kB / 1.382 GB, free: 9.887 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007132/1.205, allocations: 167.8 kB / 1.382 GB, free: 9.723 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/1.207, allocations: 1.628 MB / 1.384 GB, free: 7.953 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007424/1.208, allocations: 91.55 kB / 1.384 GB, free: 7.863 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.56e-05/1.208, allocations: 39.95 kB / 1.384 GB, free: 7.824 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (100): * Single equations (assignments): 99 * 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.0004304/1.209, allocations: 279.5 kB / 1.384 GB, free: 7.543 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/1.209, allocations: 86.97 kB / 1.384 GB, free: 7.457 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002391/1.211, allocations: 1.089 MB / 1.385 GB, free: 6.348 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/1.211, allocations: 12 kB / 1.385 GB, free: 6.336 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/1.211, allocations: 0 / 1.385 GB, free: 6.336 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/1.211, allocations: 7.969 kB / 1.385 GB, free: 6.328 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/1.212, allocations: 0.9229 MB / 1.386 GB, free: 5.355 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.212, allocations: 4 kB / 1.386 GB, free: 5.352 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006738/1.213, allocations: 163.7 kB / 1.387 GB, free: 5.191 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004514/1.213, allocations: 76.72 kB / 1.387 GB, free: 5.113 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.803e-05/1.214, allocations: 23.98 kB / 1.387 GB, free: 5.09 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/1.215, allocations: 1.654 MB / 1.388 GB, free: 3.289 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.215, allocations: 0 / 1.388 GB, free: 3.289 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002632/1.218, allocations: 1.371 MB / 1.39 GB, free: 1.898 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004051/1.218, allocations: 283.7 kB / 1.39 GB, free: 1.602 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/1.219, allocations: 19.94 kB / 1.39 GB, free: 1.582 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006198/1.219, allocations: 67.98 kB / 1.39 GB, free: 1.516 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/1.219, allocations: 68.91 kB / 1.39 GB, free: 1.449 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.208e-05/1.219, allocations: 39.97 kB / 1.39 GB, free: 1.41 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005353/1.22, allocations: 471 kB / 1.391 GB, free: 0.957 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.31e-07/1.22, allocations: 0 / 1.391 GB, free: 0.957 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008653/1.221, allocations: 335.2 kB / 1.391 GB, free: 0.6289 MB / 1.107 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.001324/1.222, allocations: 0.5962 MB / 1.391 GB, free: 212 kB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.00167/1.224, allocations: 0.8704 MB / 1.392 GB, free: 15.32 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.224, allocations: 0 / 1.392 GB, free: 15.32 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009093/1.225, allocations: 0.5237 MB / 1.393 GB, free: 14.79 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/1.226, allocations: 305.4 kB / 1.393 GB, free: 14.5 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/1.229, allocations: 1.842 MB / 1.395 GB, free: 12.64 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/1.23, allocations: 1.048 MB / 1.396 GB, free: 11.56 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0007243/1.23, allocations: 262.8 kB / 1.396 GB, free: 11.3 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002585/1.231, allocations: 103.4 kB / 1.396 GB, free: 11.2 MB / 1.123 GB Notification: Performance of SimCode: time 5.11e-07/1.231, allocations: 0 / 1.396 GB, free: 11.2 MB / 1.123 GB Notification: Performance of Templates: time 0.02648/1.257, allocations: 15.87 MB / 1.412 GB, free: 11.5 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches