Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 108.6 kB / 15.99 MB, free: 6.359 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.001488/0.001488, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.423/1.423, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.68/2.68, allocations: 482.2 MB / 0.7548 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 68.98 kB / 0.9238 GB, free: 0.5078 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7288/0.7307, allocations: 162.2 MB / 1.082 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.2111/0.9419, allocations: 166 MB / 1.244 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02348/0.9654, allocations: 16.88 MB / 1.261 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001696/0.9671, allocations: 23.88 kB / 1.261 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001525/0.9687, allocations: 477.1 kB / 1.261 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004466/0.9732, allocations: 1.469 MB / 1.263 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003266/0.9765, allocations: 1.201 MB / 1.264 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0035/0.98, allocations: 2.68 MB / 1.266 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002503/0.9825, allocations: 1.893 MB / 1.268 GB, free: 228 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005688/0.9882, allocations: 1.347 MB / 1.27 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.9897, allocations: 1.004 MB / 1.271 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003782/0.9901, allocations: 208 kB / 1.271 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002638/0.9927, allocations: 1.427 MB / 1.272 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000522/0.9932, allocations: 0.5647 MB / 1.273 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001286/0.9945, allocations: 1.042 MB / 1.274 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003008/0.9975, allocations: 2.323 MB / 1.276 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.9976, allocations: 0 / 1.276 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9976, allocations: 0 / 1.276 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.464e-05/0.9976, allocations: 0 / 1.276 GB, free: 8.34 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.004282/1.002, allocations: 2.279 MB / 1.278 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/1.002, allocations: 12.03 kB / 1.278 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003516/1.005, allocations: 0.5089 MB / 1.279 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/1.007, allocations: 1.082 MB / 1.28 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000164/1.007, allocations: 123.4 kB / 1.28 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/1.008, allocations: 168 kB / 1.28 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003323/1.011, allocations: 1.839 MB / 1.282 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/1.011, allocations: 3.938 kB / 1.282 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/1.011, allocations: 72 kB / 1.282 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.53e-05/1.011, allocations: 40 kB / 1.282 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003379/1.015, allocations: 1.882 MB / 1.284 GB, free: 176 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009091/1.024, allocations: 5.747 MB / 1.289 GB, free: 10.04 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003157/1.027, allocations: 1.766 MB / 1.291 GB, free: 8.199 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001176/1.028, allocations: 0.6444 MB / 1.292 GB, free: 7.551 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009958/1.029, allocations: 0.8078 MB / 1.293 GB, free: 6.578 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001744/1.031, allocations: 0.8996 MB / 1.293 GB, free: 5.656 MB / 1.014 GB Notification: Performance of pre-optimization done (n=146): time 3.356e-06/1.031, allocations: 0 / 1.293 GB, free: 5.656 MB / 1.014 GB Notification: Performance of matching and sorting (n=146): time 0.006549/1.037, allocations: 2.556 MB / 1.296 GB, free: 2.988 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/1.038, allocations: 201.2 kB / 1.296 GB, free: 2.75 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/1.039, allocations: 0.8383 MB / 1.297 GB, free: 1.887 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001897/1.039, allocations: 53.7 kB / 1.297 GB, free: 1.828 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006176/1.04, allocations: 0.6368 MB / 1.298 GB, free: 1.18 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004887/1.04, allocations: 484.9 kB / 1.298 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004304/1.041, allocations: 254.8 kB / 1.298 GB, free: 452 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001758/1.041, allocations: 361.9 kB / 1.299 GB, free: 84 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/1.042, allocations: 494.3 kB / 1.299 GB, free: 15.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/1.043, allocations: 0.6385 MB / 1.3 GB, free: 14.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002212/1.045, allocations: 1.126 MB / 1.301 GB, free: 13.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/1.045, allocations: 0 / 1.301 GB, free: 13.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003809/1.049, allocations: 1.55 MB / 1.302 GB, free: 12.22 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/1.049, allocations: 4 kB / 1.302 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/1.049, allocations: 0 / 1.302 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009658/1.05, allocations: 204.2 kB / 1.303 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/1.052, allocations: 335.5 kB / 1.303 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007071/1.059, allocations: 7.299 MB / 1.31 GB, free: 3.672 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/1.061, allocations: 172.3 kB / 1.31 GB, free: 3.504 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/1.061, allocations: 47.97 kB / 1.31 GB, free: 3.457 MB / 1.029 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 (156): * Single equations (assignments): 151 * 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.0008202/1.062, allocations: 387.3 kB / 1.311 GB, free: 3.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003134/1.062, allocations: 134.4 kB / 1.311 GB, free: 2.938 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004349/1.066, allocations: 1.839 MB / 1.313 GB, free: 1.074 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/1.066, allocations: 16 kB / 1.313 GB, free: 1.059 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.066, allocations: 4 kB / 1.313 GB, free: 1.055 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/1.066, allocations: 7.969 kB / 1.313 GB, free: 1.047 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006809/1.073, allocations: 3.447 MB / 1.316 GB, free: 13.52 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/1.073, allocations: 0 / 1.316 GB, free: 13.52 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001522/1.075, allocations: 315.6 kB / 1.316 GB, free: 13.21 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007603/1.075, allocations: 180.1 kB / 1.316 GB, free: 13.02 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/1.076, allocations: 43.95 kB / 1.316 GB, free: 12.98 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006858/1.082, allocations: 7.316 MB / 1.324 GB, free: 4.957 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.082, allocations: 3.938 kB / 1.324 GB, free: 4.953 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004304/1.087, allocations: 1.711 MB / 1.325 GB, free: 3.211 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000905/1.088, allocations: 399 kB / 1.326 GB, free: 2.801 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002235/1.088, allocations: 35.94 kB / 1.326 GB, free: 2.766 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/1.089, allocations: 121.8 kB / 1.326 GB, free: 2.648 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002857/1.09, allocations: 121.1 kB / 1.326 GB, free: 2.531 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001664/1.09, allocations: 67.95 kB / 1.326 GB, free: 2.465 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008949/1.091, allocations: 0.5784 MB / 1.327 GB, free: 1.875 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.5e-07/1.091, allocations: 0 / 1.327 GB, free: 1.875 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001929/1.093, allocations: 0.6039 MB / 1.327 GB, free: 1.27 MB / 1.045 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.002382/1.095, allocations: 0.741 MB / 1.328 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00577/1.101, allocations: 2.301 MB / 1.33 GB, free: 14.34 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/1.101, allocations: 0.5625 kB / 1.33 GB, free: 14.34 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002431/1.103, allocations: 1.305 MB / 1.331 GB, free: 12.98 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/1.106, allocations: 0.5184 MB / 1.332 GB, free: 12.48 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006558/1.112, allocations: 3.616 MB / 1.335 GB, free: 8.832 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/1.114, allocations: 1.292 MB / 1.337 GB, free: 7.508 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007792/1.114, allocations: 179.3 kB / 1.337 GB, free: 7.332 MB / 1.061 GB Notification: Performance of SimCode: time 6.41e-07/1.114, allocations: 0 / 1.337 GB, free: 7.332 MB / 1.061 GB Notification: Performance of Templates: time 0.07235/1.187, allocations: 57.6 MB / 1.393 GB, free: 13.74 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches