Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001561/0.001561, allocations: 113.6 kB / 16.37 MB, free: 6.012 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.001698/0.001698, allocations: 188.2 kB / 17.31 MB, free: 5.613 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.438/1.438, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.504/2.504, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 64.39 kB / 0.8707 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2929, allocations: 151.7 MB / 1.019 GB, free: 9.898 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.7599/1.053, allocations: 176.2 MB / 1.191 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0209/1.074, allocations: 15.65 MB / 1.206 GB, free: 3.871 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002389/1.076, allocations: 31.72 kB / 1.206 GB, free: 3.859 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001916/1.078, allocations: 0.609 MB / 1.207 GB, free: 3.348 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005349/1.084, allocations: 1.567 MB / 1.208 GB, free: 2.141 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005025/1.089, allocations: 1.676 MB / 1.21 GB, free: 0.8828 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004537/1.093, allocations: 2.912 MB / 1.213 GB, free: 15.15 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002682/1.096, allocations: 1.852 MB / 1.215 GB, free: 13.94 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003746/1.1, allocations: 1.395 MB / 1.216 GB, free: 13.16 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001583/1.101, allocations: 1.039 MB / 1.217 GB, free: 12.46 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.00039/1.102, allocations: 198.7 kB / 1.217 GB, free: 12.46 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003849/1.106, allocations: 1.343 MB / 1.218 GB, free: 11.83 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006811/1.106, allocations: 0.5681 MB / 1.219 GB, free: 11.39 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001517/1.108, allocations: 1.028 MB / 1.22 GB, free: 10.68 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005097/1.113, allocations: 3.014 MB / 1.223 GB, free: 7.891 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/1.113, allocations: 0 / 1.223 GB, free: 7.891 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.134e-06/1.113, allocations: 0 / 1.223 GB, free: 7.891 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.187e-05/1.113, allocations: 0 / 1.223 GB, free: 7.891 MB / 0.92 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.00438/1.117, allocations: 2.307 MB / 1.225 GB, free: 5.52 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/1.117, allocations: 12.92 kB / 1.225 GB, free: 5.508 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003045/1.12, allocations: 461.1 kB / 1.226 GB, free: 5.055 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/1.122, allocations: 1.136 MB / 1.227 GB, free: 3.875 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/1.123, allocations: 123.2 kB / 1.227 GB, free: 3.754 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002094/1.123, allocations: 156 kB / 1.227 GB, free: 3.602 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003063/1.126, allocations: 1.792 MB / 1.229 GB, free: 1.73 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.464e-05/1.126, allocations: 0 / 1.229 GB, free: 1.73 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/1.126, allocations: 68 kB / 1.229 GB, free: 1.664 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-05/1.126, allocations: 51.98 kB / 1.229 GB, free: 1.613 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003093/1.129, allocations: 1.768 MB / 1.231 GB, free: 15.84 MB / 0.9356 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.008989/1.138, allocations: 6.149 MB / 1.237 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002589/1.141, allocations: 1.564 MB / 1.238 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009676/1.142, allocations: 0.5597 MB / 1.239 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009336/1.143, allocations: 0.8828 MB / 1.24 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001478/1.144, allocations: 0.7989 MB / 1.24 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=126): time 2.946e-06/1.144, allocations: 0 / 1.24 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of matching and sorting (n=126): time 0.004732/1.149, allocations: 1.887 MB / 1.242 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/1.149, allocations: 196.9 kB / 1.242 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/1.151, allocations: 0.9873 MB / 1.243 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001205/1.151, allocations: 53.7 kB / 1.243 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006075/1.151, allocations: 0.6566 MB / 1.244 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003341/1.152, allocations: 421.9 kB / 1.244 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003712/1.152, allocations: 230.8 kB / 1.245 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001345/1.152, allocations: 349.9 kB / 1.245 GB, free: 388 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008783/1.153, allocations: 450.4 kB / 1.245 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/1.154, allocations: 0.5942 MB / 1.246 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001888/1.156, allocations: 1.042 MB / 1.247 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/1.156, allocations: 4 kB / 1.247 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003021/1.159, allocations: 1.347 MB / 1.248 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/1.159, allocations: 4.156 kB / 1.248 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/1.159, allocations: 4 kB / 1.248 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005735/1.16, allocations: 84.77 kB / 1.248 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/1.161, allocations: 295.6 kB / 1.249 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/1.163, allocations: 1.658 MB / 1.25 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/1.164, allocations: 130.9 kB / 1.25 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/1.165, allocations: 55.95 kB / 1.25 GB, free: 10.5 MB / 0.9512 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.0007092/1.165, allocations: 383.3 kB / 1.251 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00027/1.166, allocations: 138.3 kB / 1.251 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003404/1.169, allocations: 1.61 MB / 1.253 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/1.169, allocations: 12 kB / 1.253 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/1.169, allocations: 0 / 1.253 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/1.169, allocations: 7.969 kB / 1.253 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005685/1.175, allocations: 3.163 MB / 1.256 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/1.175, allocations: 0 / 1.256 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/1.176, allocations: 267.7 kB / 1.256 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004329/1.176, allocations: 76.72 kB / 1.256 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.222e-05/1.176, allocations: 39.97 kB / 1.256 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001842/1.178, allocations: 1.666 MB / 1.258 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.178, allocations: 0 / 1.258 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004159/1.182, allocations: 2.182 MB / 1.26 GB, free: 0.7227 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007242/1.183, allocations: 399 kB / 1.26 GB, free: 320 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/1.183, allocations: 31.94 kB / 1.26 GB, free: 288 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/1.184, allocations: 92.09 kB / 1.26 GB, free: 196 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/1.185, allocations: 93.17 kB / 1.26 GB, free: 104 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/1.185, allocations: 63.95 kB / 1.26 GB, free: 40 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008859/1.186, allocations: 0.68 MB / 1.261 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/1.186, allocations: 0 / 1.261 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00132/1.187, allocations: 0.557 MB / 1.262 GB, free: 14.79 MB / 0.9669 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.001577/1.189, allocations: 0.71 MB / 1.262 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002454/1.191, allocations: 1.283 MB / 1.264 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/1.191, allocations: 448 / 1.264 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001296/1.192, allocations: 0.7559 MB / 1.264 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00213/1.195, allocations: 0.5824 MB / 1.265 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004887/1.199, allocations: 2.84 MB / 1.268 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009105/1.2, allocations: 1.307 MB / 1.269 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001439/1.202, allocations: 442.8 kB / 1.269 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004042/1.202, allocations: 155.4 kB / 1.27 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of SimCode: time 5.91e-07/1.202, allocations: 0 / 1.27 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of Templates: time 0.04259/1.245, allocations: 26.86 MB / 1.296 GB, free: 12.36 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches