Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) 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: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TOut.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TOut.T",fileNamePrefix="Buildings_11_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.004472/0.004472, allocations: 95.44 kB / 15.73 MB, free: 6.051 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.001108/0.001108, allocations: 205 kB / 16.68 MB, free: 5.973 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.678/2.678, allocations: 469.8 MB / 0.7425 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.89 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3143, allocations: 159.1 MB / 1.221 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006556/0.3208, allocations: 4.931 MB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.8542/1.175, allocations: 151 MB / 1.373 GB, free: 10.86 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009871/1.176, allocations: 19.94 kB / 1.373 GB, free: 10.86 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007127/1.177, allocations: 190.4 kB / 1.373 GB, free: 10.73 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002227/1.179, allocations: 0.5522 MB / 1.374 GB, free: 10.42 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002308/1.181, allocations: 0.8307 MB / 1.374 GB, free: 9.988 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002469/1.184, allocations: 1.37 MB / 1.376 GB, free: 9.277 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008664/1.185, allocations: 417 kB / 1.376 GB, free: 9.027 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/1.186, allocations: 484.7 kB / 1.377 GB, free: 8.789 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009016/1.187, allocations: 0.5005 MB / 1.377 GB, free: 8.523 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002384/1.187, allocations: 113.4 kB / 1.377 GB, free: 8.523 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/1.188, allocations: 484 kB / 1.378 GB, free: 8.406 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003056/1.189, allocations: 289.9 kB / 1.378 GB, free: 8.223 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006842/1.189, allocations: 0.5511 MB / 1.379 GB, free: 7.855 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002839/1.192, allocations: 1.62 MB / 1.38 GB, free: 6.965 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/1.192, allocations: 1.688 kB / 1.38 GB, free: 6.965 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.004e-06/1.192, allocations: 0 / 1.38 GB, free: 6.965 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.52e-05/1.192, allocations: 0 / 1.38 GB, free: 6.965 MB / 1.076 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.003065/1.195, allocations: 1.461 MB / 1.382 GB, free: 5.801 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/1.195, allocations: 13.53 kB / 1.382 GB, free: 5.797 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/1.196, allocations: 187.9 kB / 1.382 GB, free: 5.707 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/1.198, allocations: 0.7685 MB / 1.382 GB, free: 5.074 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.626e-05/1.198, allocations: 60.69 kB / 1.383 GB, free: 5.051 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/1.198, allocations: 80.09 kB / 1.383 GB, free: 5.023 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/1.2, allocations: 0.9082 MB / 1.383 GB, free: 4.43 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/1.2, allocations: 9.094 kB / 1.383 GB, free: 4.422 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.414e-05/1.2, allocations: 37.44 kB / 1.384 GB, free: 4.395 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/1.2, allocations: 19.03 kB / 1.384 GB, free: 4.395 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002037/1.202, allocations: 1.098 MB / 1.385 GB, free: 3.875 MB / 1.076 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.004669/1.207, allocations: 2.744 MB / 1.387 GB, free: 1.648 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/1.208, allocations: 0.7354 MB / 1.388 GB, free: 1.277 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005224/1.209, allocations: 264.3 kB / 1.388 GB, free: 1.141 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.58e-05/1.209, allocations: 40.25 kB / 1.388 GB, free: 1.117 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009102/1.21, allocations: 493 kB / 1.389 GB, free: 0.8008 MB / 1.076 GB Notification: Performance of pre-optimization done (n=78): time 2.936e-06/1.21, allocations: 0 / 1.389 GB, free: 0.8008 MB / 1.076 GB Notification: Performance of matching and sorting (n=78): time 0.003413/1.213, allocations: 1.173 MB / 1.39 GB, free: 168 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001557/1.213, allocations: 189.6 kB / 1.39 GB, free: 15.95 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/1.214, allocations: 0.6424 MB / 1.391 GB, free: 15.57 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.832e-05/1.214, allocations: 46.86 kB / 1.391 GB, free: 15.52 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/1.215, allocations: 401.1 kB / 1.391 GB, free: 15.17 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002518/1.215, allocations: 272.9 kB / 1.391 GB, free: 14.93 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002621/1.215, allocations: 163.1 kB / 1.392 GB, free: 14.83 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000195/1.215, allocations: 388.8 kB / 1.392 GB, free: 14.46 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005414/1.216, allocations: 265.7 kB / 1.392 GB, free: 14.33 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006526/1.217, allocations: 369.8 kB / 1.393 GB, free: 14.11 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/1.218, allocations: 0.5996 MB / 1.393 GB, free: 13.78 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.218, allocations: 0.9688 kB / 1.393 GB, free: 13.78 MB / 1.092 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002168/1.22, allocations: 0.8442 MB / 1.394 GB, free: 13.35 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/1.22, allocations: 9.531 kB / 1.394 GB, free: 13.35 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.22, allocations: 2.156 kB / 1.394 GB, free: 13.35 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006509/1.221, allocations: 85.08 kB / 1.394 GB, free: 13.3 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007137/1.221, allocations: 161.7 kB / 1.394 GB, free: 13.26 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/1.224, allocations: 1.632 MB / 1.396 GB, free: 11.66 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009688/1.225, allocations: 88.7 kB / 1.396 GB, free: 11.6 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.273e-05/1.225, allocations: 43.09 kB / 1.396 GB, free: 11.58 MB / 1.092 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.0006115/1.225, allocations: 261.3 kB / 1.396 GB, free: 11.38 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/1.225, allocations: 87.5 kB / 1.396 GB, free: 11.33 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/1.228, allocations: 1.053 MB / 1.397 GB, free: 10.74 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/1.228, allocations: 10 kB / 1.397 GB, free: 10.74 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/1.228, allocations: 0 / 1.397 GB, free: 10.74 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/1.228, allocations: 7.922 kB / 1.397 GB, free: 10.73 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/1.229, allocations: 0.8821 MB / 1.398 GB, free: 10.06 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.229, allocations: 0 / 1.398 GB, free: 10.06 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005467/1.23, allocations: 144.4 kB / 1.398 GB, free: 10.02 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004525/1.23, allocations: 72.72 kB / 1.398 GB, free: 9.984 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.794e-05/1.23, allocations: 28.16 kB / 1.398 GB, free: 9.965 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/1.232, allocations: 1.654 MB / 1.4 GB, free: 8.352 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.232, allocations: 5.359 kB / 1.4 GB, free: 8.348 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/1.234, allocations: 0.9194 MB / 1.401 GB, free: 7.852 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004874/1.235, allocations: 271.2 kB / 1.401 GB, free: 7.613 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/1.235, allocations: 21.05 kB / 1.401 GB, free: 7.598 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006339/1.236, allocations: 59.77 kB / 1.401 GB, free: 7.57 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/1.236, allocations: 69.19 kB / 1.401 GB, free: 7.531 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.78e-05/1.236, allocations: 36.03 kB / 1.401 GB, free: 7.52 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.000638/1.236, allocations: 470.3 kB / 1.402 GB, free: 7.25 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/1.236, allocations: 0 / 1.402 GB, free: 7.25 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00104/1.238, allocations: 327.3 kB / 1.402 GB, free: 7.152 MB / 1.092 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.001408/1.239, allocations: 0.6065 MB / 1.403 GB, free: 6.863 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001702/1.241, allocations: 0.7908 MB / 1.403 GB, free: 6.445 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.241, allocations: 0 / 1.403 GB, free: 6.445 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0008778/1.242, allocations: 486.9 kB / 1.404 GB, free: 6.164 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/1.243, allocations: 301.1 kB / 1.404 GB, free: 6.016 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003247/1.246, allocations: 1.696 MB / 1.406 GB, free: 5 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006342/1.247, allocations: 1.019 MB / 1.407 GB, free: 4.164 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008296/1.247, allocations: 265.1 kB / 1.407 GB, free: 4.031 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/1.248, allocations: 95.7 kB / 1.407 GB, free: 4.004 MB / 1.092 GB Notification: Performance of SimCode: time 1.042e-06/1.248, allocations: 0 / 1.407 GB, free: 4.004 MB / 1.092 GB Notification: Performance of Templates: time 0.02942/1.277, allocations: 15.22 MB / 1.422 GB, free: 6.395 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches