Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007392/0.007392, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.00174/0.00174, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.683/2.683, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 55.91 kB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3279, allocations: 157.4 MB / 1.208 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007165/0.3351, allocations: 4.93 MB / 1.213 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.9585/1.294, allocations: 150.6 MB / 1.36 GB, free: 9.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/1.295, allocations: 16.78 kB / 1.36 GB, free: 9.316 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009511/1.296, allocations: 191.9 kB / 1.36 GB, free: 9.191 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002717/1.299, allocations: 0.5502 MB / 1.36 GB, free: 8.875 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0028/1.301, allocations: 0.8219 MB / 1.361 GB, free: 8.453 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002544/1.304, allocations: 1.375 MB / 1.362 GB, free: 7.742 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/1.305, allocations: 0.5764 MB / 1.363 GB, free: 7.441 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/1.307, allocations: 480.7 kB / 1.363 GB, free: 7.207 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/1.308, allocations: 0.4987 MB / 1.364 GB, free: 6.941 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004295/1.308, allocations: 113.5 kB / 1.364 GB, free: 6.941 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/1.31, allocations: 484.5 kB / 1.365 GB, free: 6.832 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000604/1.31, allocations: 296.2 kB / 1.365 GB, free: 6.645 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001246/1.312, allocations: 0.5498 MB / 1.365 GB, free: 6.277 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003426/1.315, allocations: 1.61 MB / 1.367 GB, free: 5.598 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.315, allocations: 0 / 1.367 GB, free: 5.598 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.633e-06/1.315, allocations: 1.094 kB / 1.367 GB, free: 5.598 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.661e-05/1.315, allocations: 0 / 1.367 GB, free: 5.598 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004652/1.32, allocations: 1.43 MB / 1.368 GB, free: 4.621 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/1.32, allocations: 9.594 kB / 1.368 GB, free: 4.621 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/1.321, allocations: 186.9 kB / 1.369 GB, free: 4.559 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/1.323, allocations: 0.7623 MB / 1.369 GB, free: 4.066 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.715e-05/1.323, allocations: 63.94 kB / 1.369 GB, free: 4.035 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002003/1.324, allocations: 82.41 kB / 1.369 GB, free: 4.008 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/1.326, allocations: 0.9082 MB / 1.37 GB, free: 3.582 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/1.326, allocations: 1.188 kB / 1.37 GB, free: 3.582 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/1.326, allocations: 35.08 kB / 1.37 GB, free: 3.559 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.35e-05/1.326, allocations: 20.09 kB / 1.37 GB, free: 3.559 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002365/1.328, allocations: 1.098 MB / 1.371 GB, free: 3.285 MB / 1.061 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.005564/1.334, allocations: 2.732 MB / 1.374 GB, free: 1.074 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/1.336, allocations: 0.7797 MB / 1.375 GB, free: 0.6836 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006413/1.337, allocations: 301.6 kB / 1.375 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.889e-05/1.337, allocations: 26.73 kB / 1.375 GB, free: 0.5195 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001068/1.338, allocations: 489.1 kB / 1.376 GB, free: 212 kB / 1.061 GB Notification: Performance of pre-optimization done (n=78): time 5.08e-06/1.338, allocations: 0 / 1.376 GB, free: 212 kB / 1.061 GB Notification: Performance of matching and sorting (n=78): time 0.003839/1.342, allocations: 1.173 MB / 1.377 GB, free: 15.57 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/1.342, allocations: 197 kB / 1.377 GB, free: 15.34 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/1.344, allocations: 0.6393 MB / 1.378 GB, free: 14.96 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001272/1.344, allocations: 41.58 kB / 1.378 GB, free: 14.92 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005794/1.344, allocations: 400.7 kB / 1.378 GB, free: 14.57 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003603/1.345, allocations: 248.5 kB / 1.378 GB, free: 14.36 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004812/1.345, allocations: 157.6 kB / 1.378 GB, free: 14.26 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0003125/1.346, allocations: 389.9 kB / 1.379 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008478/1.346, allocations: 268.6 kB / 1.379 GB, free: 13.75 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/1.348, allocations: 367.1 kB / 1.379 GB, free: 13.54 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/1.349, allocations: 0.5995 MB / 1.38 GB, free: 13.21 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/1.349, allocations: 4.875 kB / 1.38 GB, free: 13.21 MB / 1.076 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002583/1.352, allocations: 0.8487 MB / 1.381 GB, free: 12.77 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/1.352, allocations: 5.844 kB / 1.381 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/1.352, allocations: 1.219 kB / 1.381 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006462/1.353, allocations: 84.95 kB / 1.381 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007214/1.353, allocations: 153.8 kB / 1.381 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002967/1.356, allocations: 1.648 MB / 1.383 GB, free: 11.08 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/1.357, allocations: 92.44 kB / 1.383 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/1.358, allocations: 38.94 kB / 1.383 GB, free: 11 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 92 * 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.0008383/1.358, allocations: 268.9 kB / 1.383 GB, free: 10.79 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003545/1.359, allocations: 78.66 kB / 1.383 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002824/1.362, allocations: 1.045 MB / 1.384 GB, free: 10.17 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/1.362, allocations: 8.781 kB / 1.384 GB, free: 10.17 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.362, allocations: 0 / 1.384 GB, free: 10.17 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/1.362, allocations: 12.98 kB / 1.384 GB, free: 10.16 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/1.363, allocations: 0.8815 MB / 1.385 GB, free: 9.484 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/1.363, allocations: 0 / 1.385 GB, free: 9.484 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005882/1.364, allocations: 139.9 kB / 1.385 GB, free: 9.453 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004794/1.364, allocations: 69.92 kB / 1.385 GB, free: 9.418 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.908e-05/1.365, allocations: 28.22 kB / 1.385 GB, free: 9.398 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002116/1.367, allocations: 1.654 MB / 1.387 GB, free: 7.785 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.367, allocations: 4.062 kB / 1.387 GB, free: 7.781 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/1.369, allocations: 0.9122 MB / 1.388 GB, free: 7.293 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006742/1.37, allocations: 270.7 kB / 1.388 GB, free: 7.055 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002746/1.37, allocations: 21.2 kB / 1.388 GB, free: 7.039 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007713/1.371, allocations: 58.3 kB / 1.388 GB, free: 7.012 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/1.371, allocations: 77.88 kB / 1.388 GB, free: 6.965 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.206e-05/1.371, allocations: 34.7 kB / 1.388 GB, free: 6.953 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008435/1.372, allocations: 457.5 kB / 1.389 GB, free: 6.691 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.2e-07/1.372, allocations: 0 / 1.389 GB, free: 6.691 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00177/1.374, allocations: 324.3 kB / 1.389 GB, free: 6.598 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.00229/1.376, allocations: 0.5997 MB / 1.39 GB, free: 6.316 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002416/1.379, allocations: 0.8174 MB / 1.39 GB, free: 5.891 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.379, allocations: 9.594 kB / 1.39 GB, free: 5.883 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/1.38, allocations: 0.511 MB / 1.391 GB, free: 5.59 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/1.382, allocations: 300.1 kB / 1.391 GB, free: 5.441 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004469/1.386, allocations: 1.651 MB / 1.393 GB, free: 4.473 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009375/1.387, allocations: 1.024 MB / 1.394 GB, free: 3.629 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001087/1.388, allocations: 264.2 kB / 1.394 GB, free: 3.496 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003403/1.388, allocations: 105.9 kB / 1.394 GB, free: 3.461 MB / 1.076 GB Notification: Performance of SimCode: time 5.51e-07/1.388, allocations: 0 / 1.394 GB, free: 3.461 MB / 1.076 GB Notification: Performance of Templates: time 0.03023/1.419, allocations: 15.42 MB / 1.409 GB, free: 8.117 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches