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.001316/0.001316, allocations: 104.3 kB / 16.41 MB, free: 6.457 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.001374/0.001374, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.505/2.505, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 71.89 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8037/0.8051, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1781/0.9833, allocations: 176.2 MB / 1.38 GB, free: 12.8 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01965/1.003, allocations: 15.67 MB / 1.396 GB, free: 13.09 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001889/1.005, allocations: 31.81 kB / 1.396 GB, free: 13.05 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002063/1.007, allocations: 0.6363 MB / 1.396 GB, free: 12.41 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005006/1.012, allocations: 1.597 MB / 1.398 GB, free: 10.81 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004499/1.017, allocations: 1.688 MB / 1.4 GB, free: 9.133 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00404/1.021, allocations: 2.918 MB / 1.402 GB, free: 6.203 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002889/1.024, allocations: 1.852 MB / 1.404 GB, free: 4.297 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003947/1.027, allocations: 1.418 MB / 1.406 GB, free: 2.906 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/1.029, allocations: 1.046 MB / 1.407 GB, free: 1.855 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0006393/1.03, allocations: 200 kB / 1.407 GB, free: 1.66 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002981/1.033, allocations: 1.338 MB / 1.408 GB, free: 328 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000753/1.034, allocations: 0.5647 MB / 1.409 GB, free: 15.75 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001631/1.035, allocations: 1.038 MB / 1.41 GB, free: 14.71 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004803/1.04, allocations: 3.01 MB / 1.413 GB, free: 11.69 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/1.04, allocations: 0 / 1.413 GB, free: 11.69 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.335e-06/1.04, allocations: 4 kB / 1.413 GB, free: 11.69 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.978e-05/1.04, allocations: 0 / 1.413 GB, free: 11.69 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.005065/1.045, allocations: 2.306 MB / 1.415 GB, free: 9.316 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/1.045, allocations: 8.031 kB / 1.415 GB, free: 9.309 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003276/1.049, allocations: 477 kB / 1.415 GB, free: 8.84 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/1.051, allocations: 1.124 MB / 1.416 GB, free: 7.672 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/1.051, allocations: 123.2 kB / 1.417 GB, free: 7.551 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002955/1.051, allocations: 160 kB / 1.417 GB, free: 7.395 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00353/1.055, allocations: 1.78 MB / 1.418 GB, free: 5.535 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.873e-05/1.055, allocations: 7.844 kB / 1.418 GB, free: 5.527 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001827/1.055, allocations: 68 kB / 1.419 GB, free: 5.461 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-05/1.055, allocations: 47.98 kB / 1.419 GB, free: 5.414 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003203/1.058, allocations: 1.768 MB / 1.42 GB, free: 3.641 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.009256/1.068, allocations: 6.157 MB / 1.426 GB, free: 13.12 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002736/1.07, allocations: 1.557 MB / 1.428 GB, free: 11.5 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/1.071, allocations: 0.5582 MB / 1.428 GB, free: 10.94 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008637/1.072, allocations: 0.8905 MB / 1.429 GB, free: 9.867 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001448/1.074, allocations: 0.7933 MB / 1.43 GB, free: 9.055 MB / 1.154 GB Notification: Performance of pre-optimization done (n=126): time 3.417e-06/1.074, allocations: 0 / 1.43 GB, free: 9.055 MB / 1.154 GB Notification: Performance of matching and sorting (n=126): time 0.004797/1.079, allocations: 1.887 MB / 1.432 GB, free: 7.141 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.452e-05/1.079, allocations: 196.9 kB / 1.432 GB, free: 6.906 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/1.08, allocations: 0.9872 MB / 1.433 GB, free: 5.902 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001375/1.08, allocations: 49.7 kB / 1.433 GB, free: 5.848 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005368/1.081, allocations: 0.6644 MB / 1.434 GB, free: 5.172 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003888/1.081, allocations: 414 kB / 1.434 GB, free: 4.762 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003652/1.082, allocations: 230.8 kB / 1.434 GB, free: 4.531 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001182/1.082, allocations: 349.9 kB / 1.435 GB, free: 4.184 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009066/1.083, allocations: 446.4 kB / 1.435 GB, free: 3.746 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/1.084, allocations: 0.6058 MB / 1.436 GB, free: 3.105 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001942/1.086, allocations: 1.035 MB / 1.437 GB, free: 2.047 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/1.086, allocations: 4 kB / 1.437 GB, free: 2.043 MB / 1.154 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002996/1.089, allocations: 1.359 MB / 1.438 GB, free: 0.6719 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/1.089, allocations: 4 kB / 1.438 GB, free: 0.668 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.089, allocations: 4 kB / 1.438 GB, free: 0.6641 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005831/1.089, allocations: 84.92 kB / 1.438 GB, free: 0.5781 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/1.091, allocations: 295.6 kB / 1.438 GB, free: 296 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/1.093, allocations: 1.653 MB / 1.44 GB, free: 14.49 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/1.094, allocations: 144.5 kB / 1.44 GB, free: 14.35 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/1.094, allocations: 51.97 kB / 1.44 GB, free: 14.3 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.0007703/1.095, allocations: 383.2 kB / 1.441 GB, free: 13.91 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003625/1.095, allocations: 138.4 kB / 1.441 GB, free: 13.77 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003492/1.099, allocations: 1.602 MB / 1.442 GB, free: 12.16 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/1.099, allocations: 12 kB / 1.442 GB, free: 12.14 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.099, allocations: 3.938 kB / 1.442 GB, free: 12.14 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/1.099, allocations: 7.969 kB / 1.442 GB, free: 12.13 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005398/1.104, allocations: 3.151 MB / 1.445 GB, free: 8.918 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/1.104, allocations: 3.938 kB / 1.445 GB, free: 8.914 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/1.106, allocations: 271.6 kB / 1.446 GB, free: 8.648 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004527/1.106, allocations: 76.78 kB / 1.446 GB, free: 8.57 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/1.106, allocations: 35.97 kB / 1.446 GB, free: 8.535 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/1.108, allocations: 1.678 MB / 1.447 GB, free: 6.715 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.108, allocations: 3.938 kB / 1.447 GB, free: 6.711 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004212/1.112, allocations: 2.174 MB / 1.45 GB, free: 4.512 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007566/1.113, allocations: 394.9 kB / 1.45 GB, free: 4.105 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000293/1.113, allocations: 35.92 kB / 1.45 GB, free: 4.07 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/1.115, allocations: 83.98 kB / 1.45 GB, free: 3.988 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/1.115, allocations: 101.1 kB / 1.45 GB, free: 3.891 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/1.115, allocations: 59.95 kB / 1.45 GB, free: 3.832 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001054/1.116, allocations: 0.68 MB / 1.451 GB, free: 3.145 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.21e-07/1.116, allocations: 0 / 1.451 GB, free: 3.145 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00148/1.118, allocations: 0.5494 MB / 1.451 GB, free: 2.594 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.001738/1.119, allocations: 0.6999 MB / 1.452 GB, free: 2.074 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002723/1.122, allocations: 1.279 MB / 1.453 GB, free: 0.7812 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.122, allocations: 4.375 kB / 1.453 GB, free: 0.7734 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001392/1.123, allocations: 0.7597 MB / 1.454 GB, free: 4 kB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002712/1.126, allocations: 0.5741 MB / 1.455 GB, free: 15.46 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00556/1.132, allocations: 2.909 MB / 1.457 GB, free: 12.51 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009521/1.133, allocations: 1.303 MB / 1.459 GB, free: 11.17 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000635/1.133, allocations: 175.3 kB / 1.459 GB, free: 11 MB / 1.186 GB Notification: Performance of SimCode: time 1.292e-06/1.133, allocations: 0 / 1.459 GB, free: 11 MB / 1.186 GB Notification: Performance of Templates: time 0.04145/1.175, allocations: 32.01 MB / 1.49 GB, free: 11.14 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