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.001405/0.001405, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001741/0.001741, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.344/1.344, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.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.556/2.556, allocations: 390.2 MB / 0.6643 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 68.12 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6973/0.6987, allocations: 140.3 MB / 0.9491 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1986/0.8974, allocations: 172.8 MB / 1.118 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01991/0.9174, allocations: 15.36 MB / 1.133 GB, free: 5.203 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001765/0.9192, allocations: 27.88 kB / 1.133 GB, free: 5.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001783/0.921, allocations: 0.501 MB / 1.133 GB, free: 4.672 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005068/0.9261, allocations: 1.377 MB / 1.135 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004978/0.9311, allocations: 1.514 MB / 1.136 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004334/0.9354, allocations: 2.747 MB / 1.139 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003182/0.9386, allocations: 1.89 MB / 1.141 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005728/0.9444, allocations: 1.354 MB / 1.142 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002455/0.9468, allocations: 1.054 MB / 1.143 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0009664/0.9478, allocations: 200 kB / 1.143 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004007/0.9518, allocations: 1.345 MB / 1.145 GB, free: 9.152 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001373/0.9532, allocations: 0.5724 MB / 1.145 GB, free: 8.578 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002412/0.9557, allocations: 1.003 MB / 1.146 GB, free: 7.57 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005786/0.9614, allocations: 2.96 MB / 1.149 GB, free: 4.602 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.9615, allocations: 4 kB / 1.149 GB, free: 4.598 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9615, allocations: 0 / 1.149 GB, free: 4.598 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.000102/0.9616, allocations: 4 kB / 1.149 GB, free: 4.594 MB / 0.9044 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.006037/0.9676, allocations: 2.279 MB / 1.151 GB, free: 2.25 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.9677, allocations: 11.97 kB / 1.151 GB, free: 2.238 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003509/0.9712, allocations: 457.2 kB / 1.152 GB, free: 1.789 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002338/0.9736, allocations: 1.105 MB / 1.153 GB, free: 0.6406 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.9737, allocations: 127.2 kB / 1.153 GB, free: 0.5156 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000341/0.9741, allocations: 160 kB / 1.153 GB, free: 368 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003879/0.978, allocations: 1.78 MB / 1.155 GB, free: 14.5 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.257e-05/0.978, allocations: 3.938 kB / 1.155 GB, free: 14.5 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001885/0.9782, allocations: 72 kB / 1.155 GB, free: 14.43 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.867e-05/0.9783, allocations: 51.98 kB / 1.155 GB, free: 14.38 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003303/0.9816, allocations: 1.772 MB / 1.157 GB, free: 12.6 MB / 0.92 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.009316/0.9909, allocations: 5.864 MB / 1.162 GB, free: 6.441 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002935/0.9939, allocations: 1.559 MB / 1.164 GB, free: 4.828 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.995, allocations: 0.5621 MB / 1.164 GB, free: 4.262 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009746/0.996, allocations: 0.8905 MB / 1.165 GB, free: 3.188 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001593/0.9976, allocations: 0.8011 MB / 1.166 GB, free: 2.363 MB / 0.92 GB Notification: Performance of pre-optimization done (n=126): time 4.128e-06/0.9976, allocations: 4 kB / 1.166 GB, free: 2.359 MB / 0.92 GB Notification: Performance of matching and sorting (n=126): time 0.005193/1.003, allocations: 1.883 MB / 1.168 GB, free: 464 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/1.003, allocations: 196.9 kB / 1.168 GB, free: 224 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/1.005, allocations: 0.9833 MB / 1.169 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001433/1.005, allocations: 49.7 kB / 1.169 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006353/1.006, allocations: 0.6605 MB / 1.17 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004005/1.006, allocations: 417.9 kB / 1.17 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004346/1.006, allocations: 238.7 kB / 1.17 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001725/1.007, allocations: 349.9 kB / 1.171 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009603/1.008, allocations: 450.3 kB / 1.171 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/1.009, allocations: 0.5981 MB / 1.172 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002039/1.011, allocations: 1.038 MB / 1.173 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/1.011, allocations: 0 / 1.173 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003211/1.014, allocations: 1.351 MB / 1.174 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/1.014, allocations: 5.25 kB / 1.174 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.014, allocations: 4 kB / 1.174 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006412/1.015, allocations: 84.94 kB / 1.174 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/1.016, allocations: 291.6 kB / 1.174 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/1.018, allocations: 1.656 MB / 1.176 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/1.02, allocations: 154.9 kB / 1.176 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/1.02, allocations: 55.95 kB / 1.176 GB, free: 7.602 MB / 0.9356 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.0007811/1.021, allocations: 383.2 kB / 1.177 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003681/1.021, allocations: 138.5 kB / 1.177 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0037/1.025, allocations: 1.614 MB / 1.178 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.901e-05/1.025, allocations: 20 kB / 1.178 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/1.025, allocations: 4 kB / 1.178 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/1.025, allocations: 7.969 kB / 1.178 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005715/1.03, allocations: 3.141 MB / 1.181 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/1.03, allocations: 0 / 1.181 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/1.032, allocations: 279.6 kB / 1.182 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004536/1.032, allocations: 72.8 kB / 1.182 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/1.032, allocations: 39.97 kB / 1.182 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001864/1.034, allocations: 1.67 MB / 1.183 GB, free: 20 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.034, allocations: 0 / 1.183 GB, free: 20 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00429/1.038, allocations: 2.18 MB / 1.186 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008316/1.039, allocations: 398.9 kB / 1.186 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002856/1.04, allocations: 27.94 kB / 1.186 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/1.041, allocations: 123.8 kB / 1.186 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/1.041, allocations: 93.17 kB / 1.186 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/1.041, allocations: 59.95 kB / 1.186 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009943/1.042, allocations: 0.68 MB / 1.187 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.533e-06/1.042, allocations: 0 / 1.187 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001441/1.044, allocations: 0.5376 MB / 1.187 GB, free: 11.89 MB / 0.9512 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.001717/1.046, allocations: 0.7088 MB / 1.188 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004271/1.05, allocations: 1.693 MB / 1.19 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.05, allocations: 4.438 kB / 1.19 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001422/1.051, allocations: 0.7597 MB / 1.191 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/1.054, allocations: 0.5626 MB / 1.191 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007047/1.061, allocations: 3.688 MB / 1.195 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/1.062, allocations: 1.303 MB / 1.196 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001986/1.064, allocations: 434.8 kB / 1.196 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005299/1.065, allocations: 155.4 kB / 1.197 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of SimCode: time 7.11e-07/1.065, allocations: 7.875 kB / 1.197 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of Templates: time 0.0452/1.11, allocations: 26.04 MB / 1.222 GB, free: 8.98 MB / 0.9825 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/jenkins/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