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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0015/0.001499, allocations: 109.9 kB / 16.41 MB, free: 6.027 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.001672/0.001672, allocations: 186.6 kB / 17.34 MB, free: 5.633 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.359/1.359, 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 11.0.1-master/package.mo): time 2.526/2.526, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 67.89 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.84/0.8416, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1879/1.03, allocations: 176.2 MB / 1.38 GB, free: 12.82 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02238/1.052, allocations: 15.65 MB / 1.396 GB, free: 13.12 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002027/1.054, allocations: 31.81 kB / 1.396 GB, free: 13.09 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002323/1.056, allocations: 0.6089 MB / 1.396 GB, free: 12.47 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005562/1.062, allocations: 1.579 MB / 1.398 GB, free: 10.89 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.005309/1.067, allocations: 1.676 MB / 1.4 GB, free: 9.223 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00482/1.072, allocations: 2.91 MB / 1.402 GB, free: 6.301 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003494/1.076, allocations: 1.856 MB / 1.404 GB, free: 4.391 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004847/1.081, allocations: 1.392 MB / 1.406 GB, free: 3.027 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002194/1.083, allocations: 1.039 MB / 1.407 GB, free: 1.984 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0007409/1.084, allocations: 200 kB / 1.407 GB, free: 1.789 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003459/1.087, allocations: 1.337 MB / 1.408 GB, free: 460 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001049/1.088, allocations: 0.5725 MB / 1.409 GB, free: 15.88 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002479/1.091, allocations: 1.038 MB / 1.41 GB, free: 14.83 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.005871/1.096, allocations: 3.01 MB / 1.413 GB, free: 11.81 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/1.096, allocations: 0 / 1.413 GB, free: 11.81 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.793e-06/1.097, allocations: 0 / 1.413 GB, free: 11.81 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.000118/1.097, allocations: 3.938 kB / 1.413 GB, free: 11.81 MB / 1.139 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.006289/1.103, allocations: 2.302 MB / 1.415 GB, free: 9.441 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/1.103, allocations: 12.03 kB / 1.415 GB, free: 9.43 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003415/1.106, allocations: 465.1 kB / 1.415 GB, free: 8.973 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002255/1.109, allocations: 1.132 MB / 1.416 GB, free: 7.797 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/1.109, allocations: 123.2 kB / 1.416 GB, free: 7.676 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003414/1.109, allocations: 156 kB / 1.417 GB, free: 7.523 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003888/1.113, allocations: 1.784 MB / 1.418 GB, free: 5.66 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.191e-05/1.113, allocations: 7.891 kB / 1.418 GB, free: 5.652 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002154/1.113, allocations: 68 kB / 1.418 GB, free: 5.586 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-05/1.113, allocations: 48 kB / 1.419 GB, free: 5.539 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00329/1.117, allocations: 1.772 MB / 1.42 GB, free: 3.762 MB / 1.139 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.00962/1.126, allocations: 6.153 MB / 1.426 GB, free: 13.25 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002796/1.129, allocations: 1.553 MB / 1.428 GB, free: 11.63 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/1.13, allocations: 0.5621 MB / 1.428 GB, free: 11.07 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009035/1.131, allocations: 0.8867 MB / 1.429 GB, free: 9.996 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001495/1.133, allocations: 0.801 MB / 1.43 GB, free: 9.176 MB / 1.154 GB Notification: Performance of pre-optimization done (n=126): time 4.228e-06/1.133, allocations: 4 kB / 1.43 GB, free: 9.172 MB / 1.154 GB Notification: Performance of matching and sorting (n=126): time 0.004948/1.138, allocations: 1.883 MB / 1.432 GB, free: 7.262 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/1.138, allocations: 200.9 kB / 1.432 GB, free: 7.023 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/1.14, allocations: 0.9833 MB / 1.433 GB, free: 6.023 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001614/1.14, allocations: 53.7 kB / 1.433 GB, free: 5.965 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006564/1.14, allocations: 0.6566 MB / 1.434 GB, free: 5.297 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004075/1.141, allocations: 417.9 kB / 1.434 GB, free: 4.883 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000421/1.141, allocations: 230.8 kB / 1.434 GB, free: 4.652 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.141, allocations: 353.9 kB / 1.435 GB, free: 4.301 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009485/1.142, allocations: 450.4 kB / 1.435 GB, free: 3.859 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/1.143, allocations: 0.598 MB / 1.436 GB, free: 3.227 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/1.145, allocations: 1.042 MB / 1.437 GB, free: 2.16 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/1.145, allocations: 0 / 1.437 GB, free: 2.16 MB / 1.154 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.00324/1.149, allocations: 1.355 MB / 1.438 GB, free: 0.793 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/1.149, allocations: 6.344 kB / 1.438 GB, free: 0.7891 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/1.149, allocations: 4 kB / 1.438 GB, free: 0.7852 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006166/1.149, allocations: 80.91 kB / 1.438 GB, free: 0.7031 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/1.151, allocations: 299.6 kB / 1.438 GB, free: 420 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/1.153, allocations: 1.651 MB / 1.44 GB, free: 14.61 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/1.155, allocations: 138.8 kB / 1.44 GB, free: 14.48 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/1.155, allocations: 56.03 kB / 1.44 GB, free: 14.42 MB / 1.17 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.000952/1.156, allocations: 383.4 kB / 1.44 GB, free: 14.04 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005193/1.156, allocations: 134.4 kB / 1.441 GB, free: 13.91 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003814/1.16, allocations: 1.602 MB / 1.442 GB, free: 12.29 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/1.16, allocations: 12 kB / 1.442 GB, free: 12.28 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.16, allocations: 7.984 kB / 1.442 GB, free: 12.27 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.577e-05/1.16, allocations: 7.984 kB / 1.442 GB, free: 12.26 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006564/1.167, allocations: 3.151 MB / 1.445 GB, free: 9.047 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/1.167, allocations: 0 / 1.445 GB, free: 9.047 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001317/1.168, allocations: 271.6 kB / 1.446 GB, free: 8.781 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005037/1.169, allocations: 80.66 kB / 1.446 GB, free: 8.699 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/1.169, allocations: 39.97 kB / 1.446 GB, free: 8.66 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00223/1.171, allocations: 1.67 MB / 1.447 GB, free: 6.848 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.171, allocations: 3.938 kB / 1.447 GB, free: 6.844 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004834/1.176, allocations: 2.178 MB / 1.449 GB, free: 4.641 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009873/1.177, allocations: 398.9 kB / 1.45 GB, free: 4.23 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003804/1.177, allocations: 31.94 kB / 1.45 GB, free: 4.199 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/1.179, allocations: 85.11 kB / 1.45 GB, free: 4.117 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002408/1.179, allocations: 97.17 kB / 1.45 GB, free: 4.023 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000164/1.179, allocations: 59.95 kB / 1.45 GB, free: 3.965 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001244/1.18, allocations: 0.68 MB / 1.451 GB, free: 3.277 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.4e-07/1.18, allocations: 0 / 1.451 GB, free: 3.277 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001813/1.182, allocations: 0.5533 MB / 1.451 GB, free: 2.723 MB / 1.17 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.001967/1.184, allocations: 0.7112 MB / 1.452 GB, free: 2.191 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003022/1.187, allocations: 1.275 MB / 1.453 GB, free: 0.9023 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/1.187, allocations: 448 / 1.453 GB, free: 0.8984 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001505/1.189, allocations: 0.7635 MB / 1.454 GB, free: 128 kB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003125/1.192, allocations: 0.5747 MB / 1.455 GB, free: 15.57 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006031/1.198, allocations: 2.904 MB / 1.457 GB, free: 12.64 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/1.199, allocations: 1.304 MB / 1.459 GB, free: 11.3 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000672/1.2, allocations: 171.3 kB / 1.459 GB, free: 11.13 MB / 1.186 GB Notification: Performance of SimCode: time 7.02e-07/1.2, allocations: 0 / 1.459 GB, free: 11.13 MB / 1.186 GB Notification: Performance of Templates: time 0.04904/1.249, allocations: 32.01 MB / 1.49 GB, free: 11.27 MB / 1.217 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