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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.008234/0.008234, allocations: 98.86 kB / 15.73 MB, free: 6.039 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.001922/0.001922, allocations: 202 kB / 16.68 MB, free: 5.965 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.623/2.623, allocations: 437 MB / 0.7105 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 55.91 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3886, allocations: 151.6 MB / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.9192/1.308, allocations: 176.2 MB / 1.339 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0228/1.331, allocations: 15.66 MB / 1.354 GB, free: 1.859 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002753/1.334, allocations: 35.28 kB / 1.354 GB, free: 1.844 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002185/1.336, allocations: 0.6126 MB / 1.355 GB, free: 1.473 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005874/1.342, allocations: 1.569 MB / 1.356 GB, free: 0.5781 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005036/1.347, allocations: 1.679 MB / 1.358 GB, free: 15.69 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004549/1.351, allocations: 2.906 MB / 1.361 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00271/1.354, allocations: 1.85 MB / 1.362 GB, free: 13.37 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003704/1.358, allocations: 1.376 MB / 1.364 GB, free: 12.76 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00145/1.359, allocations: 1.047 MB / 1.365 GB, free: 12.25 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003419/1.36, allocations: 198.3 kB / 1.365 GB, free: 12.25 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003151/1.363, allocations: 1.336 MB / 1.366 GB, free: 11.81 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005352/1.363, allocations: 0.5729 MB / 1.367 GB, free: 11.41 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001068/1.364, allocations: 1.028 MB / 1.368 GB, free: 10.7 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004042/1.368, allocations: 3.03 MB / 1.371 GB, free: 8.598 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.368, allocations: 1.562 kB / 1.371 GB, free: 8.598 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.133e-06/1.368, allocations: 0 / 1.371 GB, free: 8.598 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.962e-05/1.368, allocations: 4 kB / 1.371 GB, free: 8.594 MB / 1.045 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.00437/1.373, allocations: 2.37 MB / 1.373 GB, free: 6.812 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/1.373, allocations: 13.56 kB / 1.373 GB, free: 6.809 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003297/1.376, allocations: 472.5 kB / 1.374 GB, free: 6.59 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002303/1.379, allocations: 1.144 MB / 1.375 GB, free: 5.699 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/1.379, allocations: 122.6 kB / 1.375 GB, free: 5.645 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000242/1.379, allocations: 158.7 kB / 1.375 GB, free: 5.59 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003411/1.382, allocations: 1.78 MB / 1.377 GB, free: 4.477 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.989e-05/1.382, allocations: 3.938 kB / 1.377 GB, free: 4.473 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001693/1.383, allocations: 74.17 kB / 1.377 GB, free: 4.418 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.726e-05/1.383, allocations: 49.61 kB / 1.377 GB, free: 4.41 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00317/1.386, allocations: 1.769 MB / 1.379 GB, free: 3.562 MB / 1.045 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.008428/1.394, allocations: 6.159 MB / 1.385 GB, free: 14.37 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002736/1.397, allocations: 1.567 MB / 1.386 GB, free: 13.41 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/1.398, allocations: 0.5619 MB / 1.387 GB, free: 13.14 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009559/1.399, allocations: 0.8829 MB / 1.387 GB, free: 12.14 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001481/1.401, allocations: 0.7959 MB / 1.388 GB, free: 11.66 MB / 1.061 GB Notification: Performance of pre-optimization done (n=126): time 2.615e-06/1.401, allocations: 0 / 1.388 GB, free: 11.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=126): time 0.004677/1.405, allocations: 1.896 MB / 1.39 GB, free: 10.66 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.915e-05/1.405, allocations: 193.8 kB / 1.39 GB, free: 10.45 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/1.407, allocations: 0.9867 MB / 1.391 GB, free: 9.891 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001083/1.407, allocations: 55.77 kB / 1.391 GB, free: 9.84 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005848/1.407, allocations: 0.6731 MB / 1.392 GB, free: 9.242 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003694/1.408, allocations: 437 kB / 1.392 GB, free: 8.863 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003913/1.408, allocations: 232.6 kB / 1.393 GB, free: 8.727 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001524/1.408, allocations: 350.8 kB / 1.393 GB, free: 8.391 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009315/1.409, allocations: 447.4 kB / 1.393 GB, free: 8.168 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/1.41, allocations: 0.603 MB / 1.394 GB, free: 7.793 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001977/1.412, allocations: 1.035 MB / 1.395 GB, free: 7.227 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.403e-06/1.412, allocations: 0 / 1.395 GB, free: 7.227 MB / 1.061 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003131/1.416, allocations: 1.361 MB / 1.396 GB, free: 6.535 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/1.416, allocations: 6.438 kB / 1.396 GB, free: 6.535 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.416, allocations: 6.781 kB / 1.396 GB, free: 6.531 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005662/1.416, allocations: 88.02 kB / 1.396 GB, free: 6.488 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/1.417, allocations: 292.7 kB / 1.397 GB, free: 6.418 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/1.42, allocations: 1.662 MB / 1.398 GB, free: 4.789 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/1.421, allocations: 144.4 kB / 1.398 GB, free: 4.691 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.84e-05/1.421, allocations: 52.91 kB / 1.398 GB, free: 4.672 MB / 1.061 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.0006825/1.422, allocations: 382.9 kB / 1.399 GB, free: 4.391 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002532/1.422, allocations: 143.7 kB / 1.399 GB, free: 4.316 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003432/1.425, allocations: 1.608 MB / 1.401 GB, free: 3.41 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/1.425, allocations: 12.53 kB / 1.401 GB, free: 3.41 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/1.425, allocations: 0 / 1.401 GB, free: 3.41 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/1.425, allocations: 7.969 kB / 1.401 GB, free: 3.402 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005303/1.431, allocations: 3.148 MB / 1.404 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.431, allocations: 4 kB / 1.404 GB, free: 0.6328 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/1.432, allocations: 271.7 kB / 1.404 GB, free: 376 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004488/1.432, allocations: 76.72 kB / 1.404 GB, free: 296 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.191e-05/1.432, allocations: 39.97 kB / 1.404 GB, free: 256 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001937/1.434, allocations: 1.67 MB / 1.406 GB, free: 14.43 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.434, allocations: 8.141 kB / 1.406 GB, free: 14.43 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004296/1.439, allocations: 2.187 MB / 1.408 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000673/1.439, allocations: 403.7 kB / 1.408 GB, free: 11.8 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002101/1.44, allocations: 35.92 kB / 1.408 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/1.441, allocations: 87.92 kB / 1.408 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/1.441, allocations: 93.17 kB / 1.408 GB, free: 11.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/1.441, allocations: 63.95 kB / 1.408 GB, free: 11.53 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009229/1.442, allocations: 0.68 MB / 1.409 GB, free: 10.84 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.442, allocations: 0 / 1.409 GB, free: 10.84 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001462/1.443, allocations: 0.5533 MB / 1.41 GB, free: 10.29 MB / 1.076 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.001594/1.445, allocations: 0.7074 MB / 1.41 GB, free: 9.758 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002693/1.448, allocations: 1.283 MB / 1.412 GB, free: 8.461 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/1.448, allocations: 448 / 1.412 GB, free: 8.461 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001372/1.449, allocations: 0.7519 MB / 1.412 GB, free: 7.695 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/1.452, allocations: 0.5823 MB / 1.413 GB, free: 7.133 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005253/1.457, allocations: 2.899 MB / 1.416 GB, free: 4.203 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009632/1.458, allocations: 1.308 MB / 1.417 GB, free: 2.867 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001643/1.459, allocations: 442.7 kB / 1.417 GB, free: 2.43 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004357/1.46, allocations: 151.4 kB / 1.418 GB, free: 2.281 MB / 1.076 GB Notification: Performance of SimCode: time 5.21e-07/1.46, allocations: 4 kB / 1.418 GB, free: 2.277 MB / 1.076 GB Notification: Performance of Templates: time 0.04514/1.505, allocations: 27.12 MB / 1.444 GB, free: 7.523 MB / 1.107 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 -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/jenkins/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