Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 101.6 kB / 16.27 MB, free: 5.949 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.001387/0.001387, allocations: 190.6 kB / 17.2 MB, free: 5.586 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.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.154/2.154, allocations: 390.2 MB / 0.6653 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 63.95 kB / 0.8132 GB, free: 32.9 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2968, allocations: 140.4 MB / 0.9503 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.7798/1.077, allocations: 175.2 MB / 1.121 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02048/1.097, allocations: 15.54 MB / 1.137 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002527/1.1, allocations: 29.72 kB / 1.137 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001945/1.102, allocations: 0.5804 MB / 1.137 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005569/1.107, allocations: 1.493 MB / 1.139 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005172/1.113, allocations: 1.66 MB / 1.14 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004588/1.117, allocations: 2.731 MB / 1.143 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003226/1.12, allocations: 1.9 MB / 1.145 GB, free: 19.95 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004116/1.125, allocations: 1.356 MB / 1.146 GB, free: 19.83 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001705/1.126, allocations: 1.024 MB / 1.147 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004003/1.127, allocations: 198.6 kB / 1.147 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003561/1.13, allocations: 1.302 MB / 1.149 GB, free: 19.16 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005573/1.131, allocations: 0.5652 MB / 1.149 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00116/1.132, allocations: 1.003 MB / 1.15 GB, free: 18.22 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004895/1.137, allocations: 2.896 MB / 1.153 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.137, allocations: 4 kB / 1.153 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.194e-06/1.137, allocations: 0 / 1.153 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.402e-05/1.137, allocations: 1.062 kB / 1.153 GB, free: 17.19 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.005383/1.142, allocations: 2.28 MB / 1.155 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.776e-05/1.142, allocations: 10.25 kB / 1.155 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003592/1.146, allocations: 465.7 kB / 1.156 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003054/1.149, allocations: 1.093 MB / 1.157 GB, free: 15 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001883/1.149, allocations: 127.2 kB / 1.157 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003281/1.15, allocations: 160.2 kB / 1.157 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003785/1.153, allocations: 1.776 MB / 1.159 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.942e-05/1.154, allocations: 13.06 kB / 1.159 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001635/1.154, allocations: 69.84 kB / 1.159 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.839e-05/1.154, allocations: 45.83 kB / 1.159 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003356/1.157, allocations: 1.773 MB / 1.16 GB, free: 13.56 MB / 0.8731 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.009792/1.167, allocations: 5.886 MB / 1.166 GB, free: 9.785 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002686/1.17, allocations: 1.555 MB / 1.168 GB, free: 9.004 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/1.171, allocations: 0.5625 MB / 1.168 GB, free: 8.793 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009613/1.172, allocations: 0.8868 MB / 1.169 GB, free: 7.84 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001557/1.173, allocations: 0.8001 MB / 1.17 GB, free: 7.531 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=126): time 4.749e-06/1.173, allocations: 0 / 1.17 GB, free: 7.531 MB / 0.8731 GB Notification: Performance of matching and sorting (n=126): time 0.005018/1.178, allocations: 1.89 MB / 1.172 GB, free: 6.785 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/1.178, allocations: 195.9 kB / 1.172 GB, free: 6.562 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/1.18, allocations: 0.9877 MB / 1.173 GB, free: 6.105 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001865/1.18, allocations: 50.36 kB / 1.173 GB, free: 6.059 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006985/1.181, allocations: 0.6546 MB / 1.174 GB, free: 5.48 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004651/1.182, allocations: 418.1 kB / 1.174 GB, free: 5.125 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003997/1.182, allocations: 238 kB / 1.174 GB, free: 4.984 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001874/1.182, allocations: 352.4 kB / 1.175 GB, free: 4.645 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009671/1.183, allocations: 449.5 kB / 1.175 GB, free: 4.422 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/1.184, allocations: 0.5982 MB / 1.176 GB, free: 4.047 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001974/1.186, allocations: 1.036 MB / 1.177 GB, free: 3.477 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/1.186, allocations: 0 / 1.177 GB, free: 3.477 MB / 0.8731 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003265/1.19, allocations: 1.352 MB / 1.178 GB, free: 2.793 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/1.19, allocations: 7.312 kB / 1.178 GB, free: 2.793 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/1.19, allocations: 3.531 kB / 1.178 GB, free: 2.793 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006362/1.19, allocations: 92.33 kB / 1.178 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/1.192, allocations: 291.9 kB / 1.178 GB, free: 2.676 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/1.194, allocations: 1.644 MB / 1.18 GB, free: 1.062 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/1.195, allocations: 140.4 kB / 1.18 GB, free: 0.9688 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/1.195, allocations: 57.86 kB / 1.18 GB, free: 0.9453 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (144): * Single equations (assignments): 143 * 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.0009305/1.196, allocations: 391.5 kB / 1.18 GB, free: 0.6562 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003684/1.197, allocations: 135 kB / 1.181 GB, free: 0.5898 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003758/1.2, allocations: 1.614 MB / 1.182 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/1.2, allocations: 13.44 kB / 1.182 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.2, allocations: 3.938 kB / 1.182 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/1.2, allocations: 7.969 kB / 1.182 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006123/1.207, allocations: 3.152 MB / 1.185 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/1.207, allocations: 3.406 kB / 1.185 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/1.208, allocations: 263.5 kB / 1.186 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004625/1.208, allocations: 81.06 kB / 1.186 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/1.208, allocations: 34.19 kB / 1.186 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/1.21, allocations: 1.676 MB / 1.187 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.21, allocations: 2.875 kB / 1.187 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004517/1.215, allocations: 2.176 MB / 1.189 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009189/1.216, allocations: 401.9 kB / 1.19 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003949/1.216, allocations: 31.41 kB / 1.19 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/1.218, allocations: 92.59 kB / 1.19 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/1.218, allocations: 94.52 kB / 1.19 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001535/1.218, allocations: 61.33 kB / 1.19 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001297/1.219, allocations: 0.6797 MB / 1.191 GB, free: 9.887 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/1.219, allocations: 4 kB / 1.191 GB, free: 9.883 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001957/1.221, allocations: 0.532 MB / 1.191 GB, free: 9.73 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 131 * 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.0022/1.224, allocations: 0.7015 MB / 1.192 GB, free: 9.41 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004535/1.228, allocations: 1.693 MB / 1.194 GB, free: 8.715 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/1.228, allocations: 2.906 kB / 1.194 GB, free: 8.715 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001549/1.23, allocations: 0.7637 MB / 1.194 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003397/1.233, allocations: 0.5644 MB / 1.195 GB, free: 8.004 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007918/1.241, allocations: 3.061 MB / 1.198 GB, free: 6.203 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/1.243, allocations: 1.302 MB / 1.199 GB, free: 5.23 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008655/1.243, allocations: 169.8 kB / 1.199 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of SimCode: time 9.12e-07/1.243, allocations: 0 / 1.199 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of Templates: time 0.05261/1.296, allocations: 31.54 MB / 1.23 GB, free: 10.02 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches