Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002108/0.002108, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.57/1.57, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.764/2.764, allocations: 437 MB / 0.7104 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 63.91 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6261/0.628, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1861/0.8141, allocations: 154.5 MB / 1.168 GB, free: 7.375 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01531/0.8295, allocations: 10.54 MB / 1.178 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.8306, allocations: 19.88 kB / 1.179 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009697/0.8316, allocations: 281.7 kB / 1.179 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002957/0.8346, allocations: 0.9735 MB / 1.18 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002625/0.8372, allocations: 1.085 MB / 1.181 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001918/0.8392, allocations: 1.709 MB / 1.182 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001503/0.8407, allocations: 1.15 MB / 1.184 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/0.8424, allocations: 0.7116 MB / 1.184 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007395/0.8432, allocations: 0.6107 MB / 1.185 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001963/0.8434, allocations: 136 kB / 1.185 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001906/0.8453, allocations: 0.9909 MB / 1.186 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003807/0.8457, allocations: 390.8 kB / 1.186 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006615/0.8463, allocations: 0.6646 MB / 1.187 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002556/0.8489, allocations: 2.17 MB / 1.189 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.8489, allocations: 4 kB / 1.189 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8489, allocations: 0 / 1.189 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.8489, allocations: 0 / 1.189 GB, free: 1.879 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.00296/0.8519, allocations: 1.707 MB / 1.191 GB, free: 120 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.8519, allocations: 8.031 kB / 1.191 GB, free: 112 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/0.8536, allocations: 266.1 kB / 1.191 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.8549, allocations: 0.8823 MB / 1.192 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.434e-05/0.855, allocations: 78 kB / 1.192 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.8551, allocations: 95.94 kB / 1.192 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/0.8572, allocations: 1.11 MB / 1.193 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.8572, allocations: 0 / 1.193 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.8573, allocations: 44 kB / 1.193 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/0.8573, allocations: 24 kB / 1.193 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002341/0.8597, allocations: 1.323 MB / 1.195 GB, free: 12.21 MB / 0.9512 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.005268/0.865, allocations: 3.442 MB / 1.198 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/0.8671, allocations: 1.103 MB / 1.199 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008177/0.8679, allocations: 425.2 kB / 1.199 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002617/0.8682, allocations: 130 kB / 1.199 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001191/0.8694, allocations: 0.6254 MB / 1.2 GB, free: 6.281 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=95): time 2.685e-06/0.8694, allocations: 4 kB / 1.2 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of matching and sorting (n=95): time 0.00443/0.8738, allocations: 1.627 MB / 1.202 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.874, allocations: 192.9 kB / 1.202 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.8751, allocations: 0.8096 MB / 1.203 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.256e-05/0.8752, allocations: 41.7 kB / 1.203 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004296/0.8757, allocations: 460.5 kB / 1.203 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002927/0.876, allocations: 311.5 kB / 1.203 GB, free: 2.734 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002916/0.8763, allocations: 186.5 kB / 1.204 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.8764, allocations: 345.9 kB / 1.204 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007714/0.8772, allocations: 353.8 kB / 1.204 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009541/0.8782, allocations: 481.5 kB / 1.205 GB, free: 1.363 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/0.8799, allocations: 0.7843 MB / 1.206 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.8799, allocations: 0 / 1.206 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002934/0.8828, allocations: 1.088 MB / 1.207 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.8829, allocations: 8 kB / 1.207 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.8829, allocations: 4.062 kB / 1.207 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007668/0.8836, allocations: 113.6 kB / 1.207 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009383/0.8846, allocations: 207.7 kB / 1.207 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003468/0.8881, allocations: 3.069 MB / 1.21 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009829/0.8891, allocations: 115.3 kB / 1.21 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.441e-05/0.8892, allocations: 39.97 kB / 1.21 GB, free: 11.62 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006515/0.8898, allocations: 311.2 kB / 1.21 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/0.89, allocations: 102.8 kB / 1.21 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003203/0.8932, allocations: 1.318 MB / 1.212 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.8933, allocations: 8 kB / 1.212 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.8933, allocations: 4 kB / 1.212 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.8e-05/0.8933, allocations: 12 kB / 1.212 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004401/0.8977, allocations: 2.414 MB / 1.214 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.8977, allocations: 0 / 1.214 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008452/0.8986, allocations: 187.8 kB / 1.214 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005731/0.8992, allocations: 109.6 kB / 1.214 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.27e-05/0.8992, allocations: 31.91 kB / 1.214 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003389/0.9026, allocations: 3.1 MB / 1.217 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.9027, allocations: 0 / 1.217 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002693/0.9054, allocations: 1.227 MB / 1.219 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005056/0.9059, allocations: 315.5 kB / 1.219 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/0.9061, allocations: 27.98 kB / 1.219 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008624/0.9069, allocations: 75.92 kB / 1.219 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/0.9071, allocations: 88.81 kB / 1.219 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.986e-05/0.9072, allocations: 39.97 kB / 1.219 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008696/0.9081, allocations: 0.5693 MB / 1.22 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9081, allocations: 4 kB / 1.22 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001427/0.9096, allocations: 455.1 kB / 1.22 GB, free: 0.8438 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002376/0.912, allocations: 0.7136 MB / 1.221 GB, free: 320 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003402/0.9154, allocations: 1.392 MB / 1.222 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.9154, allocations: 0 / 1.222 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001376/0.9168, allocations: 0.7449 MB / 1.223 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.9183, allocations: 368.5 kB / 1.223 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004052/0.9224, allocations: 2.031 MB / 1.225 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000868/0.9233, allocations: 1.103 MB / 1.226 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001111/0.9244, allocations: 307.7 kB / 1.227 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000343/0.9248, allocations: 123.4 kB / 1.227 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/0.9248, allocations: 0 / 1.227 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of Templates: time 0.03923/0.964, allocations: 20 MB / 1.246 GB, free: 6.398 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches