Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.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_latest_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_latest_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.007016/0.007015, allocations: 101.8 kB / 15.88 MB, free: 5.867 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.001555/0.001555, allocations: 192.6 kB / 16.79 MB, free: 5.809 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.372/1.372, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.803/2.803, allocations: 461.9 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 68.14 kB / 0.899 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3438, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1918/0.5357, allocations: 173.8 MB / 1.223 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02305/0.5588, allocations: 15.7 MB / 1.238 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002495/0.5614, allocations: 27.88 kB / 1.238 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002552/0.5639, allocations: 0.5087 MB / 1.238 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006676/0.5707, allocations: 1.417 MB / 1.24 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006467/0.5772, allocations: 1.499 MB / 1.241 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005412/0.5826, allocations: 3.335 MB / 1.244 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00354/0.5862, allocations: 1.677 MB / 1.246 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00569/0.5919, allocations: 1.22 MB / 1.247 GB, free: 320 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7/1.292, allocations: 1.028 MB / 1.248 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006225/1.293, allocations: 107 kB / 1.248 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003687/1.296, allocations: 1.394 MB / 1.25 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006591/1.297, allocations: 495.4 kB / 1.25 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00159/1.299, allocations: 0.9446 MB / 1.251 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003259/1.302, allocations: 2.222 MB / 1.253 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/1.302, allocations: 3.781 kB / 1.253 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.545e-06/1.302, allocations: 0 / 1.253 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.454e-05/1.302, allocations: 3 kB / 1.253 GB, free: 5.848 MB / 0.9981 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.004958/1.307, allocations: 2.307 MB / 1.256 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/1.307, allocations: 7.688 kB / 1.256 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00332/1.31, allocations: 461 kB / 1.256 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00195/1.312, allocations: 1.099 MB / 1.257 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.904e-05/1.312, allocations: 124 kB / 1.257 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001971/1.313, allocations: 157.5 kB / 1.257 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003293/1.316, allocations: 1.79 MB / 1.259 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.99e-05/1.316, allocations: 7.188 kB / 1.259 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001598/1.316, allocations: 68.39 kB / 1.259 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.225e-05/1.316, allocations: 49.44 kB / 1.259 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003218/1.319, allocations: 1.768 MB / 1.261 GB, free: 4.012 MB / 0.9981 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.01008/1.33, allocations: 6.173 MB / 1.267 GB, free: 17.11 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003024/1.333, allocations: 1.561 MB / 1.269 GB, free: 16.78 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/1.334, allocations: 0.5625 MB / 1.269 GB, free: 16.77 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/1.335, allocations: 0.8826 MB / 1.27 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001714/1.337, allocations: 0.8035 MB / 1.271 GB, free: 15.75 MB / 1.014 GB Notification: Performance of pre-optimization done (n=126): time 3.837e-06/1.337, allocations: 1.406 kB / 1.271 GB, free: 15.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=126): time 0.006065/1.343, allocations: 1.882 MB / 1.273 GB, free: 15.53 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/1.343, allocations: 197.7 kB / 1.273 GB, free: 15.31 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/1.344, allocations: 0.993 MB / 1.274 GB, free: 15.15 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002204/1.345, allocations: 54.55 kB / 1.274 GB, free: 15.12 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005588/1.345, allocations: 0.6528 MB / 1.274 GB, free: 14.84 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003626/1.346, allocations: 420.4 kB / 1.275 GB, free: 14.58 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004015/1.346, allocations: 236.2 kB / 1.275 GB, free: 14.55 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.00017/1.346, allocations: 352.1 kB / 1.275 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009445/1.347, allocations: 453.9 kB / 1.276 GB, free: 14.24 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/1.348, allocations: 0.5943 MB / 1.276 GB, free: 14.13 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001942/1.35, allocations: 1.042 MB / 1.277 GB, free: 14.04 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/1.35, allocations: 1.094 kB / 1.277 GB, free: 14.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003311/1.354, allocations: 1.339 MB / 1.279 GB, free: 13.91 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/1.354, allocations: 9.062 kB / 1.279 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/1.354, allocations: 5.906 kB / 1.279 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006264/1.354, allocations: 84.11 kB / 1.279 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/1.356, allocations: 293.5 kB / 1.279 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/1.358, allocations: 1.544 MB / 1.281 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/1.359, allocations: 167.9 kB / 1.281 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/1.36, allocations: 54.62 kB / 1.281 GB, free: 12.53 MB / 1.014 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.0009708/1.361, allocations: 383.1 kB / 1.281 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003778/1.361, allocations: 139.4 kB / 1.281 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003568/1.365, allocations: 1.608 MB / 1.283 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.143e-05/1.365, allocations: 18.72 kB / 1.283 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/1.365, allocations: 0 / 1.283 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/1.365, allocations: 7.344 kB / 1.283 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00595/1.371, allocations: 3.164 MB / 1.286 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.515e-06/1.371, allocations: 4.984 kB / 1.286 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/1.372, allocations: 275.3 kB / 1.286 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005315/1.372, allocations: 84.44 kB / 1.286 GB, free: 11.78 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.326e-05/1.373, allocations: 41.55 kB / 1.286 GB, free: 11.78 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/1.375, allocations: 1.554 MB / 1.288 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/1.375, allocations: 4.062 kB / 1.288 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004624/1.379, allocations: 2.173 MB / 1.29 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/1.38, allocations: 400.6 kB / 1.29 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000239/1.38, allocations: 33 kB / 1.29 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/1.382, allocations: 122.1 kB / 1.291 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002313/1.382, allocations: 101.8 kB / 1.291 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/1.382, allocations: 60.92 kB / 1.291 GB, free: 10.02 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001058/1.383, allocations: 0.6804 MB / 1.291 GB, free: 9.91 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.11e-07/1.383, allocations: 0 / 1.291 GB, free: 9.91 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001906/1.385, allocations: 0.5464 MB / 1.292 GB, free: 9.82 MB / 1.014 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.001922/1.387, allocations: 0.7029 MB / 1.293 GB, free: 9.625 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002991/1.39, allocations: 1.275 MB / 1.294 GB, free: 9.484 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/1.39, allocations: 7.094 kB / 1.294 GB, free: 9.48 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001358/1.391, allocations: 0.7579 MB / 1.295 GB, free: 9.359 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/1.394, allocations: 0.5378 MB / 1.295 GB, free: 9.32 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006616/1.401, allocations: 3.649 MB / 1.299 GB, free: 7.461 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009334/1.402, allocations: 1.304 MB / 1.3 GB, free: 6.723 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008105/1.403, allocations: 172.1 kB / 1.3 GB, free: 6.711 MB / 1.014 GB Notification: Performance of SimCode: time 1.152e-06/1.403, allocations: 0 / 1.3 GB, free: 6.711 MB / 1.014 GB Notification: Performance of Templates: time 0.04432/1.447, allocations: 31.84 MB / 1.331 GB, free: 13.43 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches