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.00491/0.00491, allocations: 97.78 kB / 15.73 MB, free: 6.062 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.001066/0.001066, allocations: 202.3 kB / 16.68 MB, free: 5.977 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 / 240.4 MB, free: 4.332 MB / 190.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.404/2.404, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 67.64 kB / 0.9508 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.283, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1865/0.4695, allocations: 175.2 MB / 1.259 GB, free: 1.637 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.6911/1.161, allocations: 15.53 MB / 1.274 GB, free: 3.449 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001775/1.163, allocations: 33.03 kB / 1.274 GB, free: 3.449 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001881/1.164, allocations: 0.5993 MB / 1.275 GB, free: 3.438 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005933/1.17, allocations: 1.52 MB / 1.276 GB, free: 3.383 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006468/1.177, allocations: 1.681 MB / 1.278 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00518/1.182, allocations: 2.743 MB / 1.281 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003284/1.185, allocations: 1.895 MB / 1.282 GB, free: 3.074 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004154/1.19, allocations: 1.404 MB / 1.284 GB, free: 3.055 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002105/1.192, allocations: 1.024 MB / 1.285 GB, free: 3.051 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004939/1.192, allocations: 198.4 kB / 1.285 GB, free: 3.051 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003639/1.196, allocations: 1.337 MB / 1.286 GB, free: 3.031 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006111/1.196, allocations: 0.5686 MB / 1.287 GB, free: 3.031 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001323/1.198, allocations: 0.9962 MB / 1.288 GB, free: 2.973 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005363/1.203, allocations: 2.976 MB / 1.291 GB, free: 2.543 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.203, allocations: 0 / 1.291 GB, free: 2.543 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.924e-06/1.203, allocations: 0.875 kB / 1.291 GB, free: 2.543 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.86e-05/1.203, allocations: 0 / 1.291 GB, free: 2.543 MB / 1.014 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.004794/1.208, allocations: 2.341 MB / 1.293 GB, free: 1.387 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/1.208, allocations: 10.77 kB / 1.293 GB, free: 1.387 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003397/1.212, allocations: 476.5 kB / 1.293 GB, free: 1.273 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002239/1.214, allocations: 1.145 MB / 1.295 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/1.214, allocations: 123.4 kB / 1.295 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002378/1.214, allocations: 154 kB / 1.295 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003355/1.218, allocations: 1.788 MB / 1.297 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.113e-05/1.218, allocations: 4.375 kB / 1.297 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001707/1.218, allocations: 69.47 kB / 1.297 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.316e-05/1.218, allocations: 47.88 kB / 1.297 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00345/1.221, allocations: 1.767 MB / 1.298 GB, free: 0.6211 MB / 1.014 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.009267/1.231, allocations: 5.851 MB / 1.304 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00271/1.233, allocations: 1.562 MB / 1.306 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/1.234, allocations: 0.5674 MB / 1.306 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009317/1.235, allocations: 0.8833 MB / 1.307 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001488/1.237, allocations: 0.8054 MB / 1.308 GB, free: 12.72 MB / 1.029 GB Notification: Performance of pre-optimization done (n=126): time 2.825e-06/1.237, allocations: 3.938 kB / 1.308 GB, free: 12.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=126): time 0.005236/1.242, allocations: 1.895 MB / 1.31 GB, free: 12.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/1.242, allocations: 196.3 kB / 1.31 GB, free: 12.26 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/1.244, allocations: 0.981 MB / 1.311 GB, free: 12.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001508/1.244, allocations: 59.73 kB / 1.311 GB, free: 12.08 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006871/1.245, allocations: 0.6667 MB / 1.312 GB, free: 11.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004141/1.245, allocations: 441.1 kB / 1.312 GB, free: 11.51 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004419/1.246, allocations: 228.6 kB / 1.312 GB, free: 11.49 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001511/1.246, allocations: 352.3 kB / 1.313 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000912/1.247, allocations: 450.3 kB / 1.313 GB, free: 11.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/1.248, allocations: 0.5984 MB / 1.314 GB, free: 11.08 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002006/1.25, allocations: 1.033 MB / 1.315 GB, free: 10.99 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.25, allocations: 0 / 1.315 GB, free: 10.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003185/1.253, allocations: 1.366 MB / 1.316 GB, free: 10.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/1.253, allocations: 6.656 kB / 1.316 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/1.253, allocations: 2.406 kB / 1.316 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005871/1.254, allocations: 87.53 kB / 1.316 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/1.255, allocations: 294.5 kB / 1.316 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/1.257, allocations: 1.652 MB / 1.318 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/1.258, allocations: 142.3 kB / 1.318 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/1.259, allocations: 50.94 kB / 1.318 GB, free: 9.383 MB / 1.029 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.0008739/1.259, allocations: 380.1 kB / 1.318 GB, free: 9.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003416/1.26, allocations: 143.1 kB / 1.319 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00348/1.263, allocations: 1.614 MB / 1.32 GB, free: 9.059 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/1.263, allocations: 14.34 kB / 1.32 GB, free: 9.059 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/1.263, allocations: 0.6875 kB / 1.32 GB, free: 9.059 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/1.263, allocations: 8.672 kB / 1.32 GB, free: 9.059 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005404/1.269, allocations: 3.161 MB / 1.323 GB, free: 8.574 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/1.269, allocations: 0 / 1.323 GB, free: 8.574 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/1.27, allocations: 271.2 kB / 1.324 GB, free: 8.566 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004347/1.27, allocations: 77.72 kB / 1.324 GB, free: 8.547 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.953e-05/1.271, allocations: 40.34 kB / 1.324 GB, free: 8.527 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002135/1.273, allocations: 1.667 MB / 1.325 GB, free: 6.988 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/1.273, allocations: 2.5 kB / 1.325 GB, free: 6.988 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004607/1.277, allocations: 2.184 MB / 1.327 GB, free: 6.043 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007933/1.278, allocations: 401.3 kB / 1.328 GB, free: 5.773 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/1.278, allocations: 32.09 kB / 1.328 GB, free: 5.754 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/1.279, allocations: 92.55 kB / 1.328 GB, free: 5.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000254/1.28, allocations: 96.86 kB / 1.328 GB, free: 5.715 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/1.28, allocations: 61.61 kB / 1.328 GB, free: 5.703 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008824/1.281, allocations: 0.6823 MB / 1.329 GB, free: 5.418 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.281, allocations: 0.9062 kB / 1.329 GB, free: 5.418 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001532/1.282, allocations: 0.5402 MB / 1.329 GB, free: 5.266 MB / 1.029 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.001743/1.284, allocations: 0.7108 MB / 1.33 GB, free: 4.988 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002553/1.287, allocations: 1.281 MB / 1.331 GB, free: 4.516 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.287, allocations: 1.344 kB / 1.331 GB, free: 4.516 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001341/1.288, allocations: 0.7608 MB / 1.332 GB, free: 4.219 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/1.29, allocations: 0.5574 MB / 1.333 GB, free: 4.051 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006347/1.297, allocations: 3.018 MB / 1.335 GB, free: 2.57 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/1.298, allocations: 1.304 MB / 1.337 GB, free: 1.805 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001678/1.299, allocations: 438.1 kB / 1.337 GB, free: 1.672 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004104/1.3, allocations: 148.5 kB / 1.337 GB, free: 1.652 MB / 1.029 GB Notification: Performance of SimCode: time 7.11e-07/1.3, allocations: 2.406 kB / 1.337 GB, free: 1.652 MB / 1.029 GB Notification: Performance of Templates: time 0.04715/1.347, allocations: 26.43 MB / 1.363 GB, free: 8.125 MB / 1.045 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/jenkins/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