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.001597/0.001597, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001747/0.001747, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.19 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.375/2.375, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 71.83 kB / 0.8707 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.294, allocations: 151.6 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.7103/1.004, allocations: 176.2 MB / 1.191 GB, free: 452 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02157/1.026, allocations: 15.65 MB / 1.206 GB, free: 3.789 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001979/1.028, allocations: 31.34 kB / 1.206 GB, free: 3.777 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002115/1.03, allocations: 0.608 MB / 1.207 GB, free: 3.266 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005431/1.036, allocations: 1.574 MB / 1.208 GB, free: 2.055 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004744/1.04, allocations: 1.678 MB / 1.21 GB, free: 0.7969 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004028/1.044, allocations: 2.916 MB / 1.213 GB, free: 15.06 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002874/1.047, allocations: 1.843 MB / 1.215 GB, free: 13.86 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004046/1.051, allocations: 1.39 MB / 1.216 GB, free: 13.07 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001907/1.053, allocations: 1.039 MB / 1.217 GB, free: 12.38 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0006113/1.054, allocations: 198.7 kB / 1.217 GB, free: 12.38 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003503/1.057, allocations: 1.344 MB / 1.218 GB, free: 11.75 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0009125/1.058, allocations: 0.5686 MB / 1.219 GB, free: 11.31 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002275/1.061, allocations: 1.027 MB / 1.22 GB, free: 10.6 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005264/1.066, allocations: 3.009 MB / 1.223 GB, free: 7.812 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.066, allocations: 0 / 1.223 GB, free: 7.812 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.034e-06/1.066, allocations: 0 / 1.223 GB, free: 7.812 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001026/1.066, allocations: 8 kB / 1.223 GB, free: 7.805 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.005481/1.072, allocations: 2.299 MB / 1.225 GB, free: 5.441 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/1.072, allocations: 12.61 kB / 1.225 GB, free: 5.43 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003564/1.075, allocations: 465.1 kB / 1.226 GB, free: 4.973 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002126/1.077, allocations: 1.14 MB / 1.227 GB, free: 3.789 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.621e-05/1.077, allocations: 119.2 kB / 1.227 GB, free: 3.672 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002562/1.078, allocations: 152 kB / 1.227 GB, free: 3.523 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00325/1.081, allocations: 1.796 MB / 1.229 GB, free: 1.648 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.643e-05/1.081, allocations: 0 / 1.229 GB, free: 1.648 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001639/1.081, allocations: 72 kB / 1.229 GB, free: 1.578 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.676e-05/1.081, allocations: 51.98 kB / 1.229 GB, free: 1.527 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003094/1.084, allocations: 1.768 MB / 1.231 GB, free: 15.75 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.008314/1.093, allocations: 6.141 MB / 1.237 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/1.095, allocations: 1.568 MB / 1.238 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009566/1.096, allocations: 0.561 MB / 1.239 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008849/1.097, allocations: 0.8828 MB / 1.24 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001371/1.099, allocations: 0.7989 MB / 1.24 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=126): time 2.966e-06/1.099, allocations: 4 kB / 1.24 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of matching and sorting (n=126): time 0.004759/1.103, allocations: 1.891 MB / 1.242 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.523e-05/1.103, allocations: 192.9 kB / 1.242 GB, free: 3.023 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/1.105, allocations: 0.9795 MB / 1.243 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001167/1.105, allocations: 53.7 kB / 1.243 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005012/1.105, allocations: 0.6605 MB / 1.244 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003341/1.106, allocations: 421.9 kB / 1.244 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003541/1.106, allocations: 230.8 kB / 1.245 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.106, allocations: 349.9 kB / 1.245 GB, free: 304 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008965/1.107, allocations: 450.4 kB / 1.245 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009979/1.108, allocations: 0.5981 MB / 1.246 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00184/1.11, allocations: 1.031 MB / 1.247 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/1.11, allocations: 3.938 kB / 1.247 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002986/1.113, allocations: 1.355 MB / 1.248 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/1.113, allocations: 4 kB / 1.248 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/1.113, allocations: 4 kB / 1.248 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006407/1.114, allocations: 88.92 kB / 1.248 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/1.115, allocations: 295.6 kB / 1.249 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/1.117, allocations: 1.66 MB / 1.25 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/1.119, allocations: 130.9 kB / 1.25 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/1.119, allocations: 55.95 kB / 1.251 GB, free: 10.42 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.0007407/1.119, allocations: 387.2 kB / 1.251 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002743/1.12, allocations: 138.3 kB / 1.251 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003413/1.123, allocations: 1.606 MB / 1.253 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/1.123, allocations: 19.94 kB / 1.253 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/1.123, allocations: 0 / 1.253 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/1.123, allocations: 7.969 kB / 1.253 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0053/1.128, allocations: 3.151 MB / 1.256 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/1.128, allocations: 4 kB / 1.256 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/1.13, allocations: 271.6 kB / 1.256 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004507/1.13, allocations: 76.73 kB / 1.256 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/1.13, allocations: 39.95 kB / 1.256 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/1.132, allocations: 1.662 MB / 1.258 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.132, allocations: 4.062 kB / 1.258 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004436/1.137, allocations: 2.182 MB / 1.26 GB, free: 0.6367 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008415/1.138, allocations: 395 kB / 1.26 GB, free: 236 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/1.138, allocations: 31.94 kB / 1.26 GB, free: 204 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/1.139, allocations: 92.09 kB / 1.26 GB, free: 112 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002277/1.139, allocations: 97.17 kB / 1.26 GB, free: 16 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/1.139, allocations: 56.03 kB / 1.26 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009884/1.14, allocations: 0.6839 MB / 1.261 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.71e-07/1.14, allocations: 0 / 1.261 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001606/1.142, allocations: 0.557 MB / 1.262 GB, free: 14.71 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.001761/1.144, allocations: 0.7102 MB / 1.262 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002653/1.146, allocations: 1.275 MB / 1.264 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/1.146, allocations: 4.438 kB / 1.264 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001457/1.148, allocations: 0.7558 MB / 1.264 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/1.15, allocations: 0.5836 MB / 1.265 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005264/1.156, allocations: 2.837 MB / 1.268 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009065/1.157, allocations: 1.307 MB / 1.269 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001575/1.158, allocations: 442.8 kB / 1.269 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004348/1.159, allocations: 151.4 kB / 1.27 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of SimCode: time 9.92e-07/1.159, allocations: 4 kB / 1.27 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of Templates: time 0.04473/1.203, allocations: 26.86 MB / 1.296 GB, free: 12.27 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 gbode -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