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.0009674/0.0009675, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 187.8 kB / 16.93 MB, free: 6.773 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.383/1.383, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.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.622/2.622, allocations: 437.8 MB / 0.7128 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004958/0.000496, allocations: 12 kB / 0.8735 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8109/0.8114, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2021/1.014, allocations: 171.5 MB / 1.191 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02326/1.037, allocations: 15.49 MB / 1.206 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002294/1.039, allocations: 27.81 kB / 1.206 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00239/1.042, allocations: 0.5165 MB / 1.207 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005785/1.047, allocations: 1.419 MB / 1.208 GB, free: 2.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005635/1.053, allocations: 1.493 MB / 1.21 GB, free: 0.7461 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005392/1.059, allocations: 3.339 MB / 1.213 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003342/1.062, allocations: 1.561 MB / 1.214 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005388/1.067, allocations: 1.103 MB / 1.216 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002112/1.069, allocations: 0.8707 MB / 1.216 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0006015/1.07, allocations: 48 kB / 1.216 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00391/1.074, allocations: 1.337 MB / 1.218 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0008714/1.075, allocations: 402.3 kB / 1.218 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002036/1.077, allocations: 0.8561 MB / 1.219 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004102/1.081, allocations: 2.174 MB / 1.221 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/1.081, allocations: 0 / 1.221 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of FrontEnd: time 5.53e-06/1.081, allocations: 4 kB / 1.221 GB, free: 5 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001226/1.081, allocations: 0 / 1.221 GB, free: 5 MB / 0.9669 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.005315/1.087, allocations: 1.916 MB / 1.223 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/1.087, allocations: 8.031 kB / 1.223 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0037/1.09, allocations: 477.2 kB / 1.223 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002771/1.093, allocations: 1.101 MB / 1.225 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/1.093, allocations: 119.2 kB / 1.225 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004664/1.094, allocations: 160 kB / 1.225 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004744/1.099, allocations: 1.784 MB / 1.227 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.923e-05/1.099, allocations: 7.984 kB / 1.227 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000264/1.099, allocations: 68 kB / 1.227 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-05/1.099, allocations: 47.98 kB / 1.227 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003753/1.103, allocations: 1.784 MB / 1.228 GB, free: 13.35 MB / 0.9825 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.01092/1.114, allocations: 6.219 MB / 1.234 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003042/1.117, allocations: 1.556 MB / 1.236 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/1.118, allocations: 0.5745 MB / 1.237 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/1.119, allocations: 0.8867 MB / 1.237 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001646/1.121, allocations: 0.7934 MB / 1.238 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=126): time 5.561e-06/1.121, allocations: 4 kB / 1.238 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=126): time 0.005288/1.126, allocations: 1.906 MB / 1.24 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/1.126, allocations: 196.9 kB / 1.24 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/1.128, allocations: 0.9795 MB / 1.241 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001785/1.128, allocations: 57.7 kB / 1.241 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006251/1.129, allocations: 0.6604 MB / 1.242 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004345/1.129, allocations: 425.9 kB / 1.242 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/1.129, allocations: 97.66 kB / 1.242 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001487/1.13, allocations: 349.9 kB / 1.243 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001/1.131, allocations: 450.4 kB / 1.243 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/1.132, allocations: 0.6058 MB / 1.244 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/1.134, allocations: 1.042 MB / 1.245 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/1.134, allocations: 0 / 1.245 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003449/1.137, allocations: 1.359 MB / 1.246 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/1.137, allocations: 8 kB / 1.246 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/1.137, allocations: 0 / 1.246 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006474/1.138, allocations: 92.86 kB / 1.246 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/1.139, allocations: 295.6 kB / 1.246 GB, free: 10 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002404/1.142, allocations: 1.564 MB / 1.248 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/1.144, allocations: 174.8 kB / 1.248 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001954/1.144, allocations: 55.97 kB / 1.248 GB, free: 8.074 MB / 0.9981 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.001115/1.145, allocations: 375.3 kB / 1.249 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005243/1.145, allocations: 138.4 kB / 1.249 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004078/1.149, allocations: 1.618 MB / 1.25 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/1.15, allocations: 16 kB / 1.25 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/1.15, allocations: 0 / 1.25 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/1.15, allocations: 11.97 kB / 1.25 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006766/1.156, allocations: 3.176 MB / 1.253 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/1.156, allocations: 0 / 1.253 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/1.158, allocations: 267.7 kB / 1.254 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005487/1.158, allocations: 88.77 kB / 1.254 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/1.158, allocations: 39.97 kB / 1.254 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002002/1.16, allocations: 1.559 MB / 1.255 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/1.16, allocations: 0 / 1.255 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6852/1.846, allocations: 2.185 MB / 1.257 GB, free: 79.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009216/1.847, allocations: 416.6 kB / 1.258 GB, free: 79.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000216/1.847, allocations: 26.94 kB / 1.258 GB, free: 79.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/1.848, allocations: 140.6 kB / 1.258 GB, free: 79.51 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002548/1.848, allocations: 99.16 kB / 1.258 GB, free: 79.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/1.849, allocations: 61.41 kB / 1.258 GB, free: 79.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001171/1.85, allocations: 0.6784 MB / 1.259 GB, free: 79.39 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.71e-07/1.85, allocations: 0.7188 kB / 1.259 GB, free: 79.39 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001788/1.852, allocations: 0.5526 MB / 1.259 GB, free: 79.39 MB / 0.9981 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.001785/1.853, allocations: 0.7036 MB / 1.26 GB, free: 79.26 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003017/1.856, allocations: 1.292 MB / 1.261 GB, free: 79.12 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/1.856, allocations: 2.406 kB / 1.261 GB, free: 79.12 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001632/1.858, allocations: 0.7612 MB / 1.262 GB, free: 79.01 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00315/1.861, allocations: 0.5313 MB / 1.263 GB, free: 78.99 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006208/1.867, allocations: 3.715 MB / 1.266 GB, free: 77.25 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/1.869, allocations: 1.305 MB / 1.267 GB, free: 76.52 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008606/1.87, allocations: 165.9 kB / 1.268 GB, free: 76.52 MB / 0.9981 GB Notification: Performance of SimCode: time 1.643e-06/1.87, allocations: 0 / 1.268 GB, free: 76.52 MB / 0.9981 GB Notification: Performance of Templates: time 0.04972/1.919, allocations: 31.64 MB / 1.299 GB, free: 70.43 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 -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