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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.008727/0.008727, allocations: 101.7 kB / 15.88 MB, free: 5.867 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.002101/0.002101, allocations: 192.4 kB / 16.79 MB, free: 5.809 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.421/1.421, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.397/2.397, allocations: 390.2 MB / 0.6649 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 63.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7148/0.7162, allocations: 140.4 MB / 0.9496 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1853/0.9016, allocations: 164.9 MB / 1.111 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02317/0.9248, allocations: 17.26 MB / 1.127 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001844/0.9267, allocations: 31.75 kB / 1.127 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002/0.9287, allocations: 453.2 kB / 1.128 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005249/0.934, allocations: 1.495 MB / 1.129 GB, free: 9.391 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003794/0.9378, allocations: 1.264 MB / 1.131 GB, free: 8.141 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00377/0.9416, allocations: 2.887 MB / 1.133 GB, free: 5.242 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00309/0.9447, allocations: 1.856 MB / 1.135 GB, free: 3.34 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005662/0.9504, allocations: 1.237 MB / 1.136 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001913/0.9523, allocations: 1.066 MB / 1.137 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0007388/0.9531, allocations: 120 kB / 1.138 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003862/0.9569, allocations: 1.579 MB / 1.139 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001093/0.9581, allocations: 0.6969 MB / 1.14 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002104/0.9602, allocations: 1.076 MB / 1.141 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004052/0.9642, allocations: 2.604 MB / 1.143 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.9643, allocations: 0 / 1.143 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9643, allocations: 0 / 1.143 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001135/0.9644, allocations: 0 / 1.143 GB, free: 10.98 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.006765/0.9712, allocations: 2.725 MB / 1.146 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.9712, allocations: 12.03 kB / 1.146 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004186/0.9754, allocations: 0.5512 MB / 1.147 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003221/0.9787, allocations: 1.591 MB / 1.148 GB, free: 5.977 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/0.9788, allocations: 131.4 kB / 1.148 GB, free: 5.848 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003917/0.9792, allocations: 168 kB / 1.148 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004311/0.9836, allocations: 1.944 MB / 1.15 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.955e-05/0.9836, allocations: 4 kB / 1.15 GB, free: 3.684 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002841/0.9839, allocations: 72 kB / 1.15 GB, free: 3.613 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.466e-05/0.984, allocations: 44 kB / 1.15 GB, free: 3.57 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00387/0.9878, allocations: 2.093 MB / 1.152 GB, free: 1.473 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.01035/0.9982, allocations: 5.692 MB / 1.158 GB, free: 11.52 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003599/1.002, allocations: 2.085 MB / 1.16 GB, free: 9.355 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001311/1.003, allocations: 0.7647 MB / 1.161 GB, free: 8.594 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000635/1.004, allocations: 425.6 kB / 1.161 GB, free: 8.102 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001852/1.006, allocations: 1.017 MB / 1.162 GB, free: 7.066 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 5.921e-06/1.006, allocations: 4 kB / 1.162 GB, free: 7.062 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.006936/1.013, allocations: 2.946 MB / 1.165 GB, free: 4.004 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/1.013, allocations: 197.2 kB / 1.165 GB, free: 3.766 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002729/1.016, allocations: 1.788 MB / 1.167 GB, free: 1.965 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002695/1.016, allocations: 57.7 kB / 1.167 GB, free: 1.902 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008159/1.017, allocations: 0.8388 MB / 1.168 GB, free: 1.051 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005241/1.017, allocations: 481 kB / 1.168 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004746/1.018, allocations: 258.7 kB / 1.169 GB, free: 324 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001583/1.018, allocations: 357.9 kB / 1.169 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/1.019, allocations: 0.5921 MB / 1.17 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/1.02, allocations: 0.8052 MB / 1.17 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002355/1.023, allocations: 1.329 MB / 1.172 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.023, allocations: 3.938 kB / 1.172 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004072/1.027, allocations: 1.799 MB / 1.173 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/1.027, allocations: 10.12 kB / 1.173 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/1.027, allocations: 4 kB / 1.173 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/1.028, allocations: 220.1 kB / 1.174 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/1.03, allocations: 331.5 kB / 1.174 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005812/1.035, allocations: 6.795 MB / 1.181 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/1.037, allocations: 171.1 kB / 1.181 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002387/1.038, allocations: 59.95 kB / 1.181 GB, free: 3.086 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.001159/1.039, allocations: 487.1 kB / 1.181 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005728/1.039, allocations: 185.8 kB / 1.181 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004751/1.044, allocations: 2.117 MB / 1.183 GB, free: 272 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/1.044, allocations: 19.98 kB / 1.184 GB, free: 252 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/1.044, allocations: 0 / 1.184 GB, free: 252 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/1.044, allocations: 11.97 kB / 1.184 GB, free: 240 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007688/1.052, allocations: 3.983 MB / 1.187 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.427e-06/1.052, allocations: 3.984 kB / 1.187 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001498/1.053, allocations: 315.6 kB / 1.188 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001017/1.054, allocations: 216.1 kB / 1.188 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/1.055, allocations: 51.83 kB / 1.188 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005711/1.06, allocations: 6.835 MB / 1.195 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.06, allocations: 0 / 1.195 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004606/1.065, allocations: 1.982 MB / 1.197 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/1.066, allocations: 470.3 kB / 1.197 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004701/1.067, allocations: 32 kB / 1.197 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001642/1.068, allocations: 136.3 kB / 1.197 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00028/1.069, allocations: 109.1 kB / 1.197 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001861/1.069, allocations: 71.95 kB / 1.197 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002033/1.071, allocations: 1.281 MB / 1.199 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/1.071, allocations: 0 / 1.199 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002178/1.073, allocations: 0.6547 MB / 1.199 GB, free: 15.3 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.002093/1.075, allocations: 0.7484 MB / 1.2 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003822/1.079, allocations: 2.078 MB / 1.202 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/1.079, allocations: 4.562 kB / 1.202 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002292/1.081, allocations: 1.411 MB / 1.203 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003095/1.084, allocations: 0.4921 MB / 1.204 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008791/1.093, allocations: 4.589 MB / 1.208 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00149/1.095, allocations: 1.482 MB / 1.21 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008821/1.096, allocations: 195.3 kB / 1.21 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of SimCode: time 1.242e-06/1.096, allocations: 0 / 1.21 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of Templates: time 0.5874/1.683, allocations: 66.52 MB / 1.275 GB, free: 266.4 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/jenkins1/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