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.007206/0.007206, allocations: 104.7 kB / 15.74 MB, free: 6.488 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.001748/0.001748, allocations: 197.5 kB / 16.67 MB, free: 6.375 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.415/2.415, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 59.69 kB / 0.9508 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2669, allocations: 140.4 MB / 1.088 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1814/0.4483, allocations: 175.2 MB / 1.259 GB, free: 1.609 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.6678/1.116, allocations: 15.52 MB / 1.274 GB, free: 3.434 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001979/1.118, allocations: 34.23 kB / 1.274 GB, free: 3.434 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001895/1.12, allocations: 0.6034 MB / 1.275 GB, free: 3.422 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004838/1.125, allocations: 1.523 MB / 1.276 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005213/1.13, allocations: 1.68 MB / 1.278 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005636/1.136, allocations: 2.74 MB / 1.281 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005094/1.141, allocations: 1.896 MB / 1.282 GB, free: 3.066 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005125/1.146, allocations: 1.409 MB / 1.284 GB, free: 3.039 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002505/1.149, allocations: 1.022 MB / 1.285 GB, free: 3.035 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001004/1.15, allocations: 197.7 kB / 1.285 GB, free: 3.035 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005053/1.155, allocations: 1.336 MB / 1.286 GB, free: 3.016 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001351/1.156, allocations: 0.5659 MB / 1.287 GB, free: 3.016 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002795/1.159, allocations: 1.003 MB / 1.288 GB, free: 2.957 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006082/1.165, allocations: 2.967 MB / 1.291 GB, free: 2.535 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.165, allocations: 2 kB / 1.291 GB, free: 2.535 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.863e-06/1.165, allocations: 0 / 1.291 GB, free: 2.535 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.852e-05/1.165, allocations: 0 / 1.291 GB, free: 2.535 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.004872/1.17, allocations: 2.271 MB / 1.293 GB, free: 1.449 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/1.17, allocations: 9.5 kB / 1.293 GB, free: 1.449 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003476/1.174, allocations: 468.8 kB / 1.293 GB, free: 1.344 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/1.176, allocations: 1.133 MB / 1.295 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/1.176, allocations: 122.9 kB / 1.295 GB, free: 0.957 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002575/1.176, allocations: 157.8 kB / 1.295 GB, free: 0.957 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003479/1.18, allocations: 1.788 MB / 1.297 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.33e-05/1.18, allocations: 1.781 kB / 1.297 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001632/1.18, allocations: 71.14 kB / 1.297 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.527e-05/1.18, allocations: 48.78 kB / 1.297 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003621/1.184, allocations: 1.772 MB / 1.298 GB, free: 0.6992 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.01045/1.194, allocations: 5.832 MB / 1.304 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002787/1.197, allocations: 1.561 MB / 1.306 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/1.198, allocations: 0.569 MB / 1.306 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009419/1.199, allocations: 0.88 MB / 1.307 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001505/1.2, allocations: 0.8043 MB / 1.308 GB, free: 12.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=126): time 3.536e-06/1.2, allocations: 0 / 1.308 GB, free: 12.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=126): time 0.005102/1.206, allocations: 1.891 MB / 1.31 GB, free: 12.58 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/1.206, allocations: 197.3 kB / 1.31 GB, free: 12.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/1.207, allocations: 0.9785 MB / 1.311 GB, free: 12.21 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001524/1.207, allocations: 55.11 kB / 1.311 GB, free: 12.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006778/1.208, allocations: 0.658 MB / 1.311 GB, free: 11.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004074/1.208, allocations: 418.3 kB / 1.312 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004394/1.209, allocations: 233.8 kB / 1.312 GB, free: 11.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001422/1.209, allocations: 353.1 kB / 1.312 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009742/1.21, allocations: 448.9 kB / 1.313 GB, free: 11.31 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/1.211, allocations: 0.5979 MB / 1.313 GB, free: 11.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001942/1.213, allocations: 1.035 MB / 1.314 GB, free: 11.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/1.213, allocations: 1.094 kB / 1.314 GB, free: 11.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003211/1.216, allocations: 1.355 MB / 1.316 GB, free: 10.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/1.216, allocations: 11.31 kB / 1.316 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/1.216, allocations: 3.125 kB / 1.316 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006221/1.217, allocations: 86.91 kB / 1.316 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/1.218, allocations: 287.9 kB / 1.316 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/1.221, allocations: 1.658 MB / 1.318 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/1.222, allocations: 133.5 kB / 1.318 GB, free: 9.527 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/1.222, allocations: 51.23 kB / 1.318 GB, free: 9.527 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.0008525/1.223, allocations: 384.2 kB / 1.318 GB, free: 9.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003275/1.223, allocations: 139.1 kB / 1.318 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00342/1.227, allocations: 1.609 MB / 1.32 GB, free: 9.207 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/1.227, allocations: 14.28 kB / 1.32 GB, free: 9.207 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/1.227, allocations: 0.875 kB / 1.32 GB, free: 9.207 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/1.227, allocations: 5.719 kB / 1.32 GB, free: 9.207 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005179/1.232, allocations: 3.156 MB / 1.323 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/1.232, allocations: 0 / 1.323 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/1.233, allocations: 270.8 kB / 1.323 GB, free: 8.734 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004447/1.234, allocations: 71.67 kB / 1.323 GB, free: 8.719 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.857e-05/1.234, allocations: 41.64 kB / 1.323 GB, free: 8.699 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/1.236, allocations: 1.669 MB / 1.325 GB, free: 7.16 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/1.236, allocations: 1 kB / 1.325 GB, free: 7.16 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004164/1.24, allocations: 2.181 MB / 1.327 GB, free: 6.219 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008338/1.241, allocations: 396.9 kB / 1.328 GB, free: 5.953 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/1.241, allocations: 26.84 kB / 1.328 GB, free: 5.934 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/1.242, allocations: 96.23 kB / 1.328 GB, free: 5.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002056/1.242, allocations: 99.12 kB / 1.328 GB, free: 5.895 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/1.243, allocations: 60.92 kB / 1.328 GB, free: 5.883 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009304/1.243, allocations: 0.6831 MB / 1.329 GB, free: 5.598 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.51e-07/1.243, allocations: 0 / 1.329 GB, free: 5.598 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001566/1.245, allocations: 0.5353 MB / 1.329 GB, free: 5.449 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.001675/1.247, allocations: 0.7166 MB / 1.33 GB, free: 5.172 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002749/1.249, allocations: 1.277 MB / 1.331 GB, free: 4.703 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.249, allocations: 4.312 kB / 1.331 GB, free: 4.703 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001369/1.251, allocations: 0.7626 MB / 1.332 GB, free: 4.406 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002487/1.253, allocations: 0.5523 MB / 1.332 GB, free: 4.238 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006358/1.26, allocations: 2.956 MB / 1.335 GB, free: 2.816 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/1.261, allocations: 1.302 MB / 1.336 GB, free: 2.055 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002042/1.263, allocations: 439.2 kB / 1.337 GB, free: 1.922 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000449/1.263, allocations: 151.3 kB / 1.337 GB, free: 1.902 MB / 1.029 GB Notification: Performance of SimCode: time 1.933e-06/1.263, allocations: 0 / 1.337 GB, free: 1.902 MB / 1.029 GB Notification: Performance of Templates: time 0.04571/1.309, allocations: 26.43 MB / 1.363 GB, free: 8.391 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