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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001072/0.001072, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001031/0.001031, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.453/2.453, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002426/0.002426, allocations: 64.03 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3391, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.7091/1.048, allocations: 168.3 MB / 1.191 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02168/1.07, allocations: 17.05 MB / 1.208 GB, free: 15.04 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001694/1.072, allocations: 29.72 kB / 1.208 GB, free: 15.02 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001802/1.073, allocations: 0.5497 MB / 1.208 GB, free: 14.55 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004872/1.078, allocations: 1.62 MB / 1.21 GB, free: 13.31 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00374/1.082, allocations: 1.327 MB / 1.211 GB, free: 12.3 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003497/1.086, allocations: 2.706 MB / 1.214 GB, free: 10.66 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00255/1.088, allocations: 1.881 MB / 1.216 GB, free: 9.422 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003545/1.092, allocations: 1.352 MB / 1.217 GB, free: 8.664 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001549/1.093, allocations: 0.987 MB / 1.218 GB, free: 7.988 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004425/1.094, allocations: 205.4 kB / 1.218 GB, free: 7.988 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002877/1.097, allocations: 1.417 MB / 1.219 GB, free: 7.324 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006342/1.097, allocations: 0.5488 MB / 1.22 GB, free: 6.895 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001098/1.098, allocations: 1.042 MB / 1.221 GB, free: 6.164 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003678/1.102, allocations: 3.122 MB / 1.224 GB, free: 3.312 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/1.102, allocations: 0 / 1.224 GB, free: 3.312 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.273e-06/1.102, allocations: 0 / 1.224 GB, free: 3.312 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.516e-05/1.102, allocations: 0 / 1.224 GB, free: 3.312 MB / 0.92 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.003545/1.106, allocations: 2.284 MB / 1.226 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/1.106, allocations: 8.031 kB / 1.226 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003438/1.109, allocations: 0.5089 MB / 1.227 GB, free: 456 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/1.111, allocations: 1.117 MB / 1.228 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.38e-05/1.111, allocations: 131.4 kB / 1.228 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002129/1.111, allocations: 164 kB / 1.228 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0031/1.114, allocations: 1.843 MB / 1.23 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/1.115, allocations: 0 / 1.23 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/1.115, allocations: 83.98 kB / 1.23 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.089e-05/1.115, allocations: 40 kB / 1.23 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004316/1.119, allocations: 1.867 MB / 1.232 GB, free: 11.11 MB / 0.9356 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.01214/1.131, allocations: 5.507 MB / 1.237 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004703/1.136, allocations: 1.765 MB / 1.239 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001901/1.138, allocations: 0.652 MB / 1.24 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/1.139, allocations: 0.7999 MB / 1.24 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00242/1.142, allocations: 0.8918 MB / 1.241 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=146): time 5.29e-06/1.142, allocations: 3.938 kB / 1.241 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of matching and sorting (n=146): time 0.009389/1.151, allocations: 2.556 MB / 1.244 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/1.151, allocations: 201.2 kB / 1.244 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/1.153, allocations: 0.8344 MB / 1.245 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002031/1.153, allocations: 57.69 kB / 1.245 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007466/1.154, allocations: 0.6408 MB / 1.246 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005804/1.155, allocations: 484.9 kB / 1.246 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006354/1.155, allocations: 258.8 kB / 1.246 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.00019/1.155, allocations: 353.9 kB / 1.247 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/1.157, allocations: 494.3 kB / 1.247 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00195/1.159, allocations: 0.6384 MB / 1.248 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003374/1.163, allocations: 1.118 MB / 1.249 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/1.163, allocations: 0 / 1.249 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.005375/1.168, allocations: 1.558 MB / 1.25 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/1.168, allocations: 5.562 kB / 1.25 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/1.168, allocations: 0 / 1.25 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/1.169, allocations: 196.2 kB / 1.25 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/1.171, allocations: 335.5 kB / 1.251 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006151/1.177, allocations: 7.282 MB / 1.258 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/1.179, allocations: 150.8 kB / 1.258 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001821/1.179, allocations: 55.95 kB / 1.258 GB, free: 14.71 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 (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.0008226/1.18, allocations: 383.3 kB / 1.258 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003779/1.18, allocations: 130.4 kB / 1.259 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004248/1.184, allocations: 1.847 MB / 1.26 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/1.184, allocations: 12 kB / 1.26 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.184, allocations: 4 kB / 1.26 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/1.184, allocations: 11.97 kB / 1.26 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006372/1.191, allocations: 3.444 MB / 1.264 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/1.191, allocations: 0 / 1.264 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001451/1.192, allocations: 315.6 kB / 1.264 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007486/1.193, allocations: 180.1 kB / 1.264 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/1.193, allocations: 39.97 kB / 1.264 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005604/1.199, allocations: 7.327 MB / 1.271 GB, free: 216 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.199, allocations: 0 / 1.271 GB, free: 216 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00381/1.203, allocations: 1.717 MB / 1.273 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008205/1.203, allocations: 399 kB / 1.274 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002465/1.204, allocations: 31.94 kB / 1.274 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/1.205, allocations: 103.6 kB / 1.274 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000239/1.205, allocations: 109.2 kB / 1.274 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/1.205, allocations: 75.94 kB / 1.274 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008347/1.206, allocations: 0.5745 MB / 1.274 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2e-07/1.206, allocations: 0 / 1.274 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001609/1.208, allocations: 0.6 MB / 1.275 GB, free: 12.55 MB / 0.9825 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.001759/1.21, allocations: 0.7327 MB / 1.276 GB, free: 12 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003239/1.213, allocations: 1.867 MB / 1.277 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.213, allocations: 4.562 kB / 1.277 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001881/1.215, allocations: 1.305 MB / 1.279 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/1.217, allocations: 0.5249 MB / 1.279 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005133/1.222, allocations: 2.756 MB / 1.282 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009736/1.223, allocations: 1.296 MB / 1.283 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001618/1.225, allocations: 446.3 kB / 1.284 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004722/1.225, allocations: 155.4 kB / 1.284 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of SimCode: time 1.122e-06/1.225, allocations: 0 / 1.284 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of Templates: time 0.04629/1.271, allocations: 27.71 MB / 1.311 GB, free: 8.113 MB / 1.014 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 -s gbode -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