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.001392/0.001392, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001372/0.001372, allocations: 192.7 kB / 16.25 MB, free: 6.594 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.445/1.445, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.827/2.827, allocations: 469.8 MB / 0.742 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 61.66 kB / 0.908 GB, free: 34.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3488, allocations: 159.2 MB / 1.063 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2059/0.5548, allocations: 173.8 MB / 1.233 GB, free: 200 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02459/0.5794, allocations: 15.49 MB / 1.248 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001719/0.5812, allocations: 27.81 kB / 1.248 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00209/0.5833, allocations: 0.5243 MB / 1.249 GB, free: 96 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.601/1.184, allocations: 1.43 MB / 1.25 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004445/1.189, allocations: 1.517 MB / 1.252 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004263/1.193, allocations: 2.91 MB / 1.255 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002775/1.196, allocations: 1.826 MB / 1.256 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005143/1.201, allocations: 1.388 MB / 1.258 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002034/1.203, allocations: 1.074 MB / 1.259 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005174/1.204, allocations: 198.9 kB / 1.259 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003448/1.207, allocations: 1.35 MB / 1.26 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007735/1.208, allocations: 0.5666 MB / 1.261 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001678/1.21, allocations: 1.036 MB / 1.262 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004818/1.214, allocations: 3.026 MB / 1.265 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/1.214, allocations: 0.6562 kB / 1.265 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.794e-06/1.214, allocations: 1.031 kB / 1.265 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.058e-05/1.215, allocations: 0 / 1.265 GB, free: 4.457 MB / 0.9981 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.004817/1.219, allocations: 2.303 MB / 1.267 GB, free: 19.36 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/1.219, allocations: 9.719 kB / 1.267 GB, free: 19.36 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00488/1.224, allocations: 462.9 kB / 1.267 GB, free: 19.25 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00229/1.227, allocations: 1.103 MB / 1.269 GB, free: 18.87 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/1.227, allocations: 121.2 kB / 1.269 GB, free: 18.87 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002257/1.227, allocations: 156.9 kB / 1.269 GB, free: 18.87 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003629/1.231, allocations: 1.787 MB / 1.271 GB, free: 18.62 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.074e-05/1.231, allocations: 4.031 kB / 1.271 GB, free: 18.62 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001647/1.231, allocations: 71.7 kB / 1.271 GB, free: 18.62 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.866e-05/1.231, allocations: 45.39 kB / 1.271 GB, free: 18.62 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003621/1.235, allocations: 1.772 MB / 1.272 GB, free: 18.61 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.009117/1.244, allocations: 6.172 MB / 1.278 GB, free: 15.71 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002521/1.246, allocations: 1.563 MB / 1.28 GB, free: 15.4 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009017/1.247, allocations: 0.5638 MB / 1.281 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009931/1.248, allocations: 0.8811 MB / 1.281 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001409/1.25, allocations: 0.8069 MB / 1.282 GB, free: 14.38 MB / 1.014 GB Notification: Performance of pre-optimization done (n=126): time 3.517e-06/1.25, allocations: 0 / 1.282 GB, free: 14.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=126): time 0.004864/1.254, allocations: 1.883 MB / 1.284 GB, free: 14.17 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/1.255, allocations: 197.8 kB / 1.284 GB, free: 13.95 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/1.256, allocations: 0.983 MB / 1.285 GB, free: 13.8 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002417/1.256, allocations: 56.14 kB / 1.285 GB, free: 13.77 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005368/1.257, allocations: 0.6573 MB / 1.286 GB, free: 13.49 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003228/1.257, allocations: 422.2 kB / 1.286 GB, free: 13.22 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003877/1.258, allocations: 228 kB / 1.286 GB, free: 13.2 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001784/1.258, allocations: 355.6 kB / 1.287 GB, free: 12.89 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008875/1.259, allocations: 452 kB / 1.287 GB, free: 12.89 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009692/1.26, allocations: 0.6001 MB / 1.288 GB, free: 12.78 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001832/1.261, allocations: 1.037 MB / 1.289 GB, free: 12.7 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.261, allocations: 1.875 kB / 1.289 GB, free: 12.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003068/1.265, allocations: 1.353 MB / 1.29 GB, free: 12.55 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/1.265, allocations: 10.16 kB / 1.29 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/1.265, allocations: 1.844 kB / 1.29 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006363/1.265, allocations: 83.72 kB / 1.29 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/1.267, allocations: 290.9 kB / 1.291 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002233/1.269, allocations: 1.661 MB / 1.292 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/1.271, allocations: 164.8 kB / 1.292 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002315/1.271, allocations: 57.11 kB / 1.292 GB, free: 11.11 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.001528/1.273, allocations: 376.1 kB / 1.293 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006091/1.273, allocations: 143.3 kB / 1.293 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003621/1.277, allocations: 1.611 MB / 1.294 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/1.277, allocations: 13.56 kB / 1.294 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.277, allocations: 0 / 1.294 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/1.277, allocations: 6.938 kB / 1.294 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005828/1.283, allocations: 3.171 MB / 1.298 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/1.283, allocations: 5.188 kB / 1.298 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/1.284, allocations: 269 kB / 1.298 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000491/1.285, allocations: 72.78 kB / 1.298 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001262/1.285, allocations: 38.7 kB / 1.298 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/1.287, allocations: 1.673 MB / 1.3 GB, free: 8.988 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.287, allocations: 2.906 kB / 1.3 GB, free: 8.988 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004555/1.292, allocations: 2.184 MB / 1.302 GB, free: 8.727 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/1.293, allocations: 394.8 kB / 1.302 GB, free: 8.547 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000283/1.293, allocations: 32.8 kB / 1.302 GB, free: 8.547 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/1.294, allocations: 123.2 kB / 1.302 GB, free: 8.539 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002324/1.294, allocations: 94 kB / 1.302 GB, free: 8.539 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/1.295, allocations: 60.06 kB / 1.302 GB, free: 8.539 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009589/1.296, allocations: 0.6845 MB / 1.303 GB, free: 8.43 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.7e-07/1.296, allocations: 0 / 1.303 GB, free: 8.43 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001701/1.297, allocations: 0.5432 MB / 1.304 GB, free: 8.344 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.002482/1.3, allocations: 0.7122 MB / 1.304 GB, free: 8.125 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004264/1.304, allocations: 1.696 MB / 1.306 GB, free: 7.969 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.304, allocations: 3.625 kB / 1.306 GB, free: 7.969 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00128/1.305, allocations: 0.7577 MB / 1.307 GB, free: 7.852 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/1.308, allocations: 0.5795 MB / 1.307 GB, free: 7.777 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006193/1.314, allocations: 3.597 MB / 1.311 GB, free: 5.977 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009856/1.315, allocations: 1.303 MB / 1.312 GB, free: 5.238 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002276/1.318, allocations: 439.3 kB / 1.312 GB, free: 5.105 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004812/1.318, allocations: 155.9 kB / 1.313 GB, free: 5.094 MB / 1.014 GB Notification: Performance of SimCode: time 1.072e-06/1.318, allocations: 0 / 1.313 GB, free: 5.094 MB / 1.014 GB Notification: Performance of Templates: time 0.04712/1.365, allocations: 26.74 MB / 1.339 GB, free: 13.84 MB / 1.029 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/jenkins/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