Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.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_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009637/0.000964, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007853/0.007853, allocations: 170.8 kB / 16.26 MB, free: 6.676 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.444/1.444, allocations: 223.2 MB / 240.3 MB, free: 5.34 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.421/2.421, allocations: 390.9 MB / 0.6663 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.000387, allocations: 16 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7204/0.7208, allocations: 142.4 MB / 0.955 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2055/0.9263, allocations: 162.7 MB / 1.114 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0336/0.96, allocations: 17.01 MB / 1.131 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001852/0.9619, allocations: 27.81 kB / 1.131 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002275/0.9642, allocations: 449.3 kB / 1.131 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006266/0.9705, allocations: 1.498 MB / 1.132 GB, free: 9.047 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00384/0.9743, allocations: 1.257 MB / 1.134 GB, free: 7.805 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003685/0.978, allocations: 2.887 MB / 1.136 GB, free: 4.906 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002465/0.9805, allocations: 1.725 MB / 1.138 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004972/0.9855, allocations: 1.078 MB / 1.139 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001448/0.987, allocations: 0.8628 MB / 1.14 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003342/0.9873, allocations: 52 kB / 1.14 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003299/0.9906, allocations: 1.513 MB / 1.142 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007579/0.9914, allocations: 0.5876 MB / 1.142 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001693/0.9931, allocations: 0.9605 MB / 1.143 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.007482/1.001, allocations: 3.34 MB / 1.146 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.001, allocations: 0 / 1.146 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.844e-06/1.001, allocations: 0 / 1.146 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001242/1.001, allocations: 0 / 1.146 GB, free: 10.75 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.00575/1.006, allocations: 2.269 MB / 1.149 GB, free: 8.41 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/1.007, allocations: 12.03 kB / 1.149 GB, free: 8.398 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004386/1.011, allocations: 0.5629 MB / 1.149 GB, free: 7.832 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003611/1.015, allocations: 1.595 MB / 1.151 GB, free: 6.184 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/1.015, allocations: 123.4 kB / 1.151 GB, free: 6.062 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000508/1.015, allocations: 172 kB / 1.151 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005525/1.021, allocations: 1.948 MB / 1.153 GB, free: 3.895 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.798e-05/1.021, allocations: 0 / 1.153 GB, free: 3.895 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002381/1.021, allocations: 75.94 kB / 1.153 GB, free: 3.82 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.353e-05/1.021, allocations: 40 kB / 1.153 GB, free: 3.781 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004115/1.025, allocations: 2.101 MB / 1.155 GB, free: 1.676 MB / 0.9044 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.01016/1.035, allocations: 5.729 MB / 1.161 GB, free: 11.69 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003453/1.039, allocations: 2.097 MB / 1.163 GB, free: 9.52 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001347/1.04, allocations: 0.7647 MB / 1.163 GB, free: 8.754 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005843/1.041, allocations: 429.6 kB / 1.164 GB, free: 8.262 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00174/1.043, allocations: 1.001 MB / 1.165 GB, free: 7.238 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 3.807e-06/1.043, allocations: 4 kB / 1.165 GB, free: 7.234 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.006776/1.049, allocations: 2.985 MB / 1.168 GB, free: 4.137 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/1.05, allocations: 197.2 kB / 1.168 GB, free: 3.902 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002544/1.052, allocations: 1.784 MB / 1.17 GB, free: 2.105 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001553/1.052, allocations: 57.7 kB / 1.17 GB, free: 2.043 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007406/1.053, allocations: 0.8388 MB / 1.171 GB, free: 1.191 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004253/1.053, allocations: 488.8 kB / 1.171 GB, free: 0.707 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/1.054, allocations: 101.7 kB / 1.171 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001505/1.054, allocations: 361.9 kB / 1.171 GB, free: 248 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/1.055, allocations: 0.5921 MB / 1.172 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/1.056, allocations: 0.8091 MB / 1.173 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002385/1.059, allocations: 1.341 MB / 1.174 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/1.059, allocations: 4 kB / 1.174 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003948/1.063, allocations: 1.807 MB / 1.176 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/1.063, allocations: 7.938 kB / 1.176 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/1.063, allocations: 0 / 1.176 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/1.064, allocations: 228.1 kB / 1.176 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/1.065, allocations: 331.6 kB / 1.176 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00592/1.071, allocations: 6.802 MB / 1.183 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/1.073, allocations: 183.8 kB / 1.183 GB, free: 3.383 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002074/1.073, allocations: 59.95 kB / 1.183 GB, free: 3.324 MB / 0.9356 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 (152): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001119/1.075, allocations: 483.2 kB / 1.184 GB, free: 2.844 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004732/1.075, allocations: 181.8 kB / 1.184 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004791/1.08, allocations: 2.136 MB / 1.186 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/1.08, allocations: 16 kB / 1.186 GB, free: 492 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/1.08, allocations: 4 kB / 1.186 GB, free: 488 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/1.08, allocations: 7.969 kB / 1.186 GB, free: 480 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007187/1.087, allocations: 3.995 MB / 1.19 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/1.087, allocations: 0 / 1.19 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/1.089, allocations: 319.5 kB / 1.19 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001005/1.09, allocations: 220.1 kB / 1.19 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/1.09, allocations: 47.89 kB / 1.191 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005714/1.096, allocations: 6.838 MB / 1.197 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.096, allocations: 3.938 kB / 1.197 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004231/1.1, allocations: 1.994 MB / 1.199 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/1.101, allocations: 490.2 kB / 1.2 GB, free: 1.758 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005079/1.101, allocations: 28 kB / 1.2 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001851/1.103, allocations: 147.6 kB / 1.2 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003062/1.104, allocations: 113.1 kB / 1.2 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002205/1.104, allocations: 76.14 kB / 1.2 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002197/1.106, allocations: 1.281 MB / 1.201 GB, free: 132 kB / 0.9512 GB Notification: Performance of sort global known variables: time 3.71e-07/1.106, allocations: 0 / 1.201 GB, free: 132 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002185/1.108, allocations: 0.6586 MB / 1.202 GB, free: 15.46 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.001998/1.11, allocations: 0.7646 MB / 1.203 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00379/1.114, allocations: 2.086 MB / 1.205 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/1.114, allocations: 0.5625 kB / 1.205 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00223/1.116, allocations: 1.422 MB / 1.206 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002922/1.119, allocations: 492.3 kB / 1.206 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009304/1.129, allocations: 4.757 MB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001787/1.13, allocations: 1.535 MB / 1.213 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002444/1.133, allocations: 0.4928 MB / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006677/1.133, allocations: 175.4 kB / 1.213 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of SimCode: time 9.02e-07/1.134, allocations: 0 / 1.213 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of Templates: time 0.05364/1.187, allocations: 29.52 MB / 1.242 GB, free: 6.523 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches