Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.285/2.285, allocations: 387.1 MB / 399.7 MB, free: 9.461 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 179.1 kB / 492.3 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 221.3 MB / 0.7871 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009718/0.0009716, allocations: 96.39 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.2e-05/3.202e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3051, allocations: 142.3 MB / 1.212 GB, free: 38.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.674/5.979, allocations: 1.938 GB / 3.15 GB, free: 391.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/5.979, allocations: 87.95 kB / 3.15 GB, free: 391.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.2925/6.272, allocations: 152.7 MB / 3.3 GB, free: 236.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.756e-06/6.272, allocations: 0 / 3.3 GB, free: 236.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.12e-05/6.272, allocations: 28 kB / 3.3 GB, free: 236.6 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002453/6.275, allocations: 1.339 MB / 3.301 GB, free: 235.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/6.275, allocations: 12.03 kB / 3.301 GB, free: 235.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/6.276, allocations: 262.2 kB / 3.301 GB, free: 234.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/6.277, allocations: 0.8148 MB / 3.302 GB, free: 234.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.956e-05/6.277, allocations: 66 kB / 3.302 GB, free: 234 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/6.278, allocations: 92 kB / 3.302 GB, free: 233.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/6.279, allocations: 0.9888 MB / 3.303 GB, free: 232.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/6.279, allocations: 0 / 3.303 GB, free: 232.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.163e-05/6.279, allocations: 40 kB / 3.303 GB, free: 232.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/6.279, allocations: 27.94 kB / 3.303 GB, free: 232.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/6.281, allocations: 1.183 MB / 3.304 GB, free: 231.7 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.0041/6.285, allocations: 3.145 MB / 3.307 GB, free: 228.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/6.286, allocations: 0.9458 MB / 3.308 GB, free: 227.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004272/6.286, allocations: 351.5 kB / 3.309 GB, free: 227.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002432/6.287, allocations: 133.9 kB / 3.309 GB, free: 226.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006611/6.287, allocations: 0.5128 MB / 3.309 GB, free: 226.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=86): time 3.387e-06/6.287, allocations: 0 / 3.309 GB, free: 226.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=86): time 0.001811/6.289, allocations: 0.8794 MB / 3.31 GB, free: 225.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.624e-05/6.289, allocations: 244.1 kB / 3.31 GB, free: 225.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008623/6.29, allocations: 0.7933 MB / 3.311 GB, free: 224.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.101e-05/6.29, allocations: 45.7 kB / 3.311 GB, free: 224.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/6.29, allocations: 444.4 kB / 3.312 GB, free: 223.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/6.291, allocations: 291.8 kB / 3.312 GB, free: 223.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/6.291, allocations: 8 kB / 3.312 GB, free: 223.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.98e-05/6.291, allocations: 334 kB / 3.312 GB, free: 223.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003574/6.291, allocations: 273.5 kB / 3.312 GB, free: 223 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004294/6.291, allocations: 391.7 kB / 3.313 GB, free: 222.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004265/6.292, allocations: 313.9 kB / 3.313 GB, free: 222.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/6.292, allocations: 0 / 3.313 GB, free: 222.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001565/6.293, allocations: 0.8833 MB / 3.314 GB, free: 221.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/6.293, allocations: 7.938 kB / 3.314 GB, free: 221.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/6.293, allocations: 0 / 3.314 GB, free: 221.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006708/6.294, allocations: 113.7 kB / 3.314 GB, free: 221.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007504/6.295, allocations: 183.8 kB / 3.314 GB, free: 221.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/6.297, allocations: 2.841 MB / 3.317 GB, free: 218 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007094/6.298, allocations: 111.3 kB / 3.317 GB, free: 217.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.896e-05/6.298, allocations: 35.97 kB / 3.317 GB, free: 217.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001767/6.298, allocations: 156.8 kB / 3.317 GB, free: 217.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/6.298, allocations: 94.88 kB / 3.317 GB, free: 217.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/6.301, allocations: 1.177 MB / 3.319 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/6.301, allocations: 8 kB / 3.319 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/6.301, allocations: 8 kB / 3.319 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/6.301, allocations: 3.984 kB / 3.319 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003165/6.304, allocations: 2.26 MB / 3.321 GB, free: 214 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/6.304, allocations: 0 / 3.321 GB, free: 214 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007334/6.305, allocations: 191.8 kB / 3.321 GB, free: 213.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005501/6.305, allocations: 117.5 kB / 3.321 GB, free: 213.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-05/6.305, allocations: 31.97 kB / 3.321 GB, free: 213.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002033/6.307, allocations: 2.872 MB / 3.324 GB, free: 210.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/6.307, allocations: 0 / 3.324 GB, free: 210.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001729/6.309, allocations: 1.071 MB / 3.325 GB, free: 209.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005177/6.309, allocations: 347.4 kB / 3.325 GB, free: 209.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/6.31, allocations: 20 kB / 3.325 GB, free: 209.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007283/6.31, allocations: 83.94 kB / 3.325 GB, free: 209 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/6.311, allocations: 80.84 kB / 3.325 GB, free: 208.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.639e-05/6.311, allocations: 43.97 kB / 3.326 GB, free: 208.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007911/6.311, allocations: 0.6358 MB / 3.326 GB, free: 208.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.183e-06/6.311, allocations: 4 kB / 3.326 GB, free: 208.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001689/6.313, allocations: 0.5184 MB / 3.327 GB, free: 207.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002315/6.315, allocations: 1.355 MB / 3.328 GB, free: 206.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001447/6.317, allocations: 0.9497 MB / 3.329 GB, free: 205.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/6.317, allocations: 0 / 3.329 GB, free: 205.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007944/6.318, allocations: 0.6514 MB / 3.33 GB, free: 204.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/6.319, allocations: 288.1 kB / 3.33 GB, free: 204.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003433/6.322, allocations: 1.596 MB / 3.331 GB, free: 203 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/6.323, allocations: 1.103 MB / 3.332 GB, free: 201.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00104/6.324, allocations: 323 kB / 3.333 GB, free: 201.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003092/6.324, allocations: 123.4 kB / 3.333 GB, free: 201.4 MB / 1.151 GB Notification: Performance of SimCode: time 5.91e-07/6.324, allocations: 0 / 3.333 GB, free: 201.4 MB / 1.151 GB Notification: Performance of Templates: time 0.03693/6.361, allocations: 30.02 MB / 3.362 GB, free: 171.5 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches