Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001632/0.001631, allocations: 108.2 kB / 15.99 MB, free: 6.359 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.001971/0.001971, allocations: 196.3 kB / 16.91 MB, free: 6.199 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.4/1.4, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.684/2.684, allocations: 469.8 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 68.64 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3293, allocations: 159.2 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.6995/1.029, allocations: 173.8 MB / 1.234 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0226/1.051, allocations: 15.48 MB / 1.249 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001957/1.053, allocations: 27.81 kB / 1.249 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001939/1.055, allocations: 0.5282 MB / 1.249 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005066/1.061, allocations: 1.441 MB / 1.251 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004604/1.065, allocations: 1.527 MB / 1.252 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004417/1.07, allocations: 2.898 MB / 1.255 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002829/1.072, allocations: 1.837 MB / 1.257 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005591/1.078, allocations: 1.392 MB / 1.258 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001961/1.08, allocations: 1.07 MB / 1.259 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0004265/1.08, allocations: 196 kB / 1.26 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002965/1.083, allocations: 1.345 MB / 1.261 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006636/1.084, allocations: 0.5764 MB / 1.261 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001411/1.086, allocations: 1.038 MB / 1.263 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003203/1.089, allocations: 2.257 MB / 1.265 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/1.089, allocations: 0 / 1.265 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/1.089, allocations: 0 / 1.265 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.184e-05/1.089, allocations: 0 / 1.265 GB, free: 11.68 MB / 0.9825 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.005026/1.094, allocations: 2.304 MB / 1.267 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/1.094, allocations: 12.03 kB / 1.267 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003265/1.097, allocations: 465.1 kB / 1.267 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002026/1.099, allocations: 1.097 MB / 1.268 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/1.099, allocations: 127.7 kB / 1.269 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002852/1.1, allocations: 160 kB / 1.269 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003446/1.103, allocations: 1.78 MB / 1.27 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.949e-05/1.103, allocations: 4 kB / 1.271 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001605/1.103, allocations: 68 kB / 1.271 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.769e-05/1.103, allocations: 51.98 kB / 1.271 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00327/1.107, allocations: 1.769 MB / 1.272 GB, free: 3.668 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.009909/1.117, allocations: 6.189 MB / 1.278 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002927/1.12, allocations: 1.559 MB / 1.28 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/1.121, allocations: 0.5582 MB / 1.28 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/1.122, allocations: 0.8867 MB / 1.281 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001584/1.123, allocations: 0.8011 MB / 1.282 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=126): time 2.716e-06/1.123, allocations: 0 / 1.282 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126): time 0.005138/1.129, allocations: 1.887 MB / 1.284 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/1.129, allocations: 192.9 kB / 1.284 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/1.13, allocations: 0.9911 MB / 1.285 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001386/1.13, allocations: 53.7 kB / 1.285 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006275/1.131, allocations: 0.6528 MB / 1.286 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004299/1.131, allocations: 421.9 kB / 1.286 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004278/1.132, allocations: 230.8 kB / 1.286 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001656/1.132, allocations: 349.9 kB / 1.287 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009612/1.133, allocations: 454.3 kB / 1.287 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/1.134, allocations: 0.5942 MB / 1.288 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002069/1.136, allocations: 1.042 MB / 1.289 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/1.136, allocations: 0 / 1.289 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003198/1.139, allocations: 1.347 MB / 1.29 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/1.139, allocations: 14.34 kB / 1.29 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/1.139, allocations: 0 / 1.29 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000655/1.14, allocations: 84.78 kB / 1.29 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/1.141, allocations: 291.6 kB / 1.29 GB, free: 296 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002368/1.144, allocations: 1.662 MB / 1.292 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/1.145, allocations: 162.9 kB / 1.292 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/1.145, allocations: 51.95 kB / 1.292 GB, free: 14.27 MB / 1.014 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.0008051/1.146, allocations: 383.2 kB / 1.293 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003158/1.147, allocations: 138.5 kB / 1.293 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003832/1.15, allocations: 1.614 MB / 1.294 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/1.15, allocations: 16 kB / 1.294 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.15, allocations: 0 / 1.294 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/1.15, allocations: 7.969 kB / 1.294 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006058/1.157, allocations: 3.165 MB / 1.297 GB, free: 8.871 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/1.157, allocations: 0 / 1.297 GB, free: 8.871 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/1.158, allocations: 267.7 kB / 1.298 GB, free: 8.609 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004773/1.158, allocations: 80.67 kB / 1.298 GB, free: 8.527 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/1.159, allocations: 39.97 kB / 1.298 GB, free: 8.488 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/1.161, allocations: 1.667 MB / 1.299 GB, free: 6.68 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.161, allocations: 4.062 kB / 1.299 GB, free: 6.676 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004598/1.165, allocations: 2.18 MB / 1.302 GB, free: 4.473 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008716/1.166, allocations: 399 kB / 1.302 GB, free: 4.062 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002346/1.166, allocations: 27.94 kB / 1.302 GB, free: 4.035 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/1.168, allocations: 127.9 kB / 1.302 GB, free: 3.914 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002216/1.168, allocations: 93.19 kB / 1.302 GB, free: 3.824 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/1.168, allocations: 68.02 kB / 1.302 GB, free: 3.758 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001036/1.169, allocations: 0.68 MB / 1.303 GB, free: 3.07 MB / 1.014 GB Notification: Performance of sort global known variables: time 5e-07/1.169, allocations: 0 / 1.303 GB, free: 3.07 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001469/1.171, allocations: 0.5532 MB / 1.303 GB, free: 2.516 MB / 1.014 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.002296/1.173, allocations: 0.7204 MB / 1.304 GB, free: 1.98 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004473/1.177, allocations: 1.689 MB / 1.306 GB, free: 284 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/1.177, allocations: 4.875 kB / 1.306 GB, free: 280 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001535/1.179, allocations: 0.7597 MB / 1.307 GB, free: 15.5 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002709/1.182, allocations: 0.575 MB / 1.307 GB, free: 14.95 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006232/1.188, allocations: 3.643 MB / 1.311 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/1.189, allocations: 1.303 MB / 1.312 GB, free: 9.934 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006591/1.19, allocations: 179.3 kB / 1.312 GB, free: 9.758 MB / 1.029 GB Notification: Performance of SimCode: time 6.71e-07/1.19, allocations: 0 / 1.312 GB, free: 9.758 MB / 1.029 GB Notification: Performance of Templates: time 0.05063/1.24, allocations: 31.83 MB / 1.343 GB, free: 10.07 MB / 1.061 GB make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches