Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001156/0.001156, allocations: 100.4 kB / 16.41 MB, free: 5.977 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.001105/0.001105, allocations: 192.8 kB / 17.34 MB, free: 5.586 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.213/2.213, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 59.91 kB / 0.9515 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8696/0.8709, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2299/1.101, allocations: 175.2 MB / 1.26 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02275/1.124, allocations: 15.55 MB / 1.275 GB, free: 14.87 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002225/1.126, allocations: 31.81 kB / 1.275 GB, free: 14.84 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002253/1.128, allocations: 0.6014 MB / 1.275 GB, free: 14.23 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00588/1.134, allocations: 1.52 MB / 1.277 GB, free: 12.71 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005057/1.139, allocations: 1.682 MB / 1.279 GB, free: 11.04 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004226/1.144, allocations: 2.751 MB / 1.281 GB, free: 8.277 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003209/1.147, allocations: 1.902 MB / 1.283 GB, free: 6.312 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004184/1.151, allocations: 1.396 MB / 1.285 GB, free: 4.945 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001849/1.153, allocations: 1.015 MB / 1.286 GB, free: 3.926 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006785/1.153, allocations: 200 kB / 1.286 GB, free: 3.73 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003251/1.157, allocations: 1.337 MB / 1.287 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008875/1.158, allocations: 0.5685 MB / 1.288 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001925/1.16, allocations: 0.999 MB / 1.289 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00506/1.165, allocations: 2.964 MB / 1.291 GB, free: 13.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.165, allocations: 0 / 1.291 GB, free: 13.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.254e-06/1.165, allocations: 0 / 1.291 GB, free: 13.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.879e-05/1.165, allocations: 0 / 1.291 GB, free: 13.84 MB / 1.029 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.00414/1.169, allocations: 2.271 MB / 1.294 GB, free: 11.51 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/1.169, allocations: 8.031 kB / 1.294 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003029/1.172, allocations: 477 kB / 1.294 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/1.174, allocations: 1.14 MB / 1.295 GB, free: 9.848 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-05/1.174, allocations: 115.2 kB / 1.295 GB, free: 9.734 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001988/1.174, allocations: 159.9 kB / 1.295 GB, free: 9.578 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003012/1.177, allocations: 1.792 MB / 1.297 GB, free: 7.707 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.421e-05/1.177, allocations: 0 / 1.297 GB, free: 7.707 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/1.177, allocations: 75.98 kB / 1.297 GB, free: 7.633 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-05/1.177, allocations: 48 kB / 1.297 GB, free: 7.586 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002961/1.18, allocations: 1.768 MB / 1.299 GB, free: 5.812 MB / 1.029 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.008007/1.188, allocations: 5.821 MB / 1.305 GB, free: 15.7 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002598/1.191, allocations: 1.564 MB / 1.306 GB, free: 14.07 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009919/1.192, allocations: 0.5697 MB / 1.307 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008496/1.193, allocations: 0.8788 MB / 1.308 GB, free: 12.44 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0014/1.194, allocations: 0.7972 MB / 1.308 GB, free: 11.62 MB / 1.045 GB Notification: Performance of pre-optimization done (n=126): time 3.106e-06/1.194, allocations: 0 / 1.308 GB, free: 11.62 MB / 1.045 GB Notification: Performance of matching and sorting (n=126): time 0.004653/1.199, allocations: 1.887 MB / 1.31 GB, free: 9.707 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.853e-05/1.199, allocations: 204.9 kB / 1.311 GB, free: 9.465 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/1.2, allocations: 0.9795 MB / 1.311 GB, free: 8.469 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.000121/1.201, allocations: 53.7 kB / 1.312 GB, free: 8.41 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005179/1.201, allocations: 0.6643 MB / 1.312 GB, free: 7.734 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003239/1.201, allocations: 414 kB / 1.313 GB, free: 7.324 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003451/1.202, allocations: 234.8 kB / 1.313 GB, free: 7.09 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000129/1.202, allocations: 345.9 kB / 1.313 GB, free: 6.746 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009016/1.203, allocations: 454.4 kB / 1.314 GB, free: 6.301 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/1.204, allocations: 0.5981 MB / 1.314 GB, free: 5.668 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001892/1.206, allocations: 1.035 MB / 1.315 GB, free: 4.613 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.206, allocations: 0 / 1.315 GB, free: 4.613 MB / 1.045 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003016/1.209, allocations: 1.355 MB / 1.316 GB, free: 3.246 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/1.209, allocations: 8 kB / 1.316 GB, free: 3.238 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.209, allocations: 0 / 1.316 GB, free: 3.238 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005993/1.209, allocations: 88.8 kB / 1.317 GB, free: 3.148 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/1.211, allocations: 291.6 kB / 1.317 GB, free: 2.863 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/1.213, allocations: 1.652 MB / 1.318 GB, free: 1.066 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/1.214, allocations: 130.9 kB / 1.319 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/1.214, allocations: 59.95 kB / 1.319 GB, free: 0.8789 MB / 1.045 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.0007815/1.215, allocations: 389.7 kB / 1.319 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002975/1.216, allocations: 138.3 kB / 1.319 GB, free: 364 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003474/1.219, allocations: 1.61 MB / 1.321 GB, free: 14.73 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/1.219, allocations: 16 kB / 1.321 GB, free: 14.71 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/1.219, allocations: 0 / 1.321 GB, free: 14.71 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/1.219, allocations: 7.969 kB / 1.321 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005261/1.224, allocations: 3.151 MB / 1.324 GB, free: 11.49 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/1.224, allocations: 0 / 1.324 GB, free: 11.49 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/1.226, allocations: 271.6 kB / 1.324 GB, free: 11.22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004474/1.226, allocations: 76.78 kB / 1.324 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-05/1.226, allocations: 39.97 kB / 1.324 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/1.228, allocations: 1.67 MB / 1.326 GB, free: 9.293 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.228, allocations: 7.969 kB / 1.326 GB, free: 9.285 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004326/1.232, allocations: 2.174 MB / 1.328 GB, free: 7.09 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00078/1.233, allocations: 398.9 kB / 1.328 GB, free: 6.68 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/1.233, allocations: 27.94 kB / 1.328 GB, free: 6.652 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/1.235, allocations: 97.64 kB / 1.328 GB, free: 6.559 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/1.235, allocations: 93.17 kB / 1.329 GB, free: 6.469 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/1.235, allocations: 67.89 kB / 1.329 GB, free: 6.402 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009532/1.236, allocations: 0.68 MB / 1.329 GB, free: 5.715 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.6e-07/1.236, allocations: 0 / 1.329 GB, free: 5.715 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001369/1.237, allocations: 0.5375 MB / 1.33 GB, free: 5.176 MB / 1.061 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.001712/1.239, allocations: 0.7052 MB / 1.33 GB, free: 4.652 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002735/1.242, allocations: 1.279 MB / 1.332 GB, free: 3.359 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/1.242, allocations: 4.438 kB / 1.332 GB, free: 3.355 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00139/1.243, allocations: 0.752 MB / 1.332 GB, free: 2.59 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002642/1.246, allocations: 0.5627 MB / 1.333 GB, free: 2.051 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006185/1.252, allocations: 3.013 MB / 1.336 GB, free: 15 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008367/1.253, allocations: 1.299 MB / 1.337 GB, free: 13.67 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006809/1.254, allocations: 171.3 kB / 1.337 GB, free: 13.5 MB / 1.076 GB Notification: Performance of SimCode: time 1.032e-06/1.254, allocations: 0 / 1.337 GB, free: 13.5 MB / 1.076 GB Notification: Performance of Templates: time 0.04301/1.297, allocations: 31.72 MB / 1.368 GB, free: 13.92 MB / 1.107 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches