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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001564/0.001564, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001786/0.001786, allocations: 187 kB / 17.34 MB, free: 5.762 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.576/2.576, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 80.09 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7467/0.7482, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.183/0.9313, allocations: 168.3 MB / 1.373 GB, free: 4.746 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02312/0.9544, allocations: 17.06 MB / 1.389 GB, free: 3.637 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001844/0.9563, allocations: 31.81 kB / 1.389 GB, free: 3.605 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001944/0.9583, allocations: 0.574 MB / 1.39 GB, free: 3.027 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005213/0.9636, allocations: 1.632 MB / 1.392 GB, free: 1.391 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003984/0.9676, allocations: 1.331 MB / 1.393 GB, free: 72 kB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004128/0.9717, allocations: 2.711 MB / 1.396 GB, free: 13.35 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003271/0.975, allocations: 1.874 MB / 1.397 GB, free: 11.42 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004533/0.9796, allocations: 1.392 MB / 1.399 GB, free: 10.07 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001821/0.9814, allocations: 0.9881 MB / 1.4 GB, free: 9.082 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0007527/0.9822, allocations: 208 kB / 1.4 GB, free: 8.879 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003709/0.9859, allocations: 1.419 MB / 1.401 GB, free: 7.457 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0009064/0.9868, allocations: 0.5647 MB / 1.402 GB, free: 6.891 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002012/0.9888, allocations: 1.042 MB / 1.403 GB, free: 5.844 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005675/0.9945, allocations: 3.108 MB / 1.406 GB, free: 2.727 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.9946, allocations: 0 / 1.406 GB, free: 2.727 MB / 1.123 GB Notification: Performance of FrontEnd: time 5.23e-06/0.9946, allocations: 0 / 1.406 GB, free: 2.727 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001212/0.9947, allocations: 3.938 kB / 1.406 GB, free: 2.723 MB / 1.123 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.005297/1, allocations: 2.283 MB / 1.408 GB, free: 384 kB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/1, allocations: 12.03 kB / 1.408 GB, free: 372 kB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00394/1.004, allocations: 0.505 MB / 1.409 GB, free: 15.85 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002129/1.006, allocations: 1.117 MB / 1.41 GB, free: 14.7 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/1.006, allocations: 135.4 kB / 1.41 GB, free: 14.56 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003711/1.007, allocations: 160 kB / 1.41 GB, free: 14.41 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003904/1.011, allocations: 1.847 MB / 1.412 GB, free: 12.51 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.154e-05/1.011, allocations: 4 kB / 1.412 GB, free: 12.5 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002109/1.011, allocations: 72 kB / 1.412 GB, free: 12.43 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.372e-05/1.011, allocations: 44 kB / 1.412 GB, free: 12.39 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003493/1.014, allocations: 1.875 MB / 1.414 GB, free: 10.51 MB / 1.139 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.008725/1.023, allocations: 5.499 MB / 1.419 GB, free: 4.676 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003193/1.026, allocations: 1.765 MB / 1.421 GB, free: 2.832 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/1.028, allocations: 0.6559 MB / 1.421 GB, free: 2.176 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008821/1.029, allocations: 0.7961 MB / 1.422 GB, free: 1.215 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001691/1.03, allocations: 0.8957 MB / 1.423 GB, free: 304 kB / 1.139 GB Notification: Performance of pre-optimization done (n=146): time 3.857e-06/1.03, allocations: 0 / 1.423 GB, free: 304 kB / 1.139 GB Notification: Performance of matching and sorting (n=146): time 0.006389/1.037, allocations: 2.556 MB / 1.426 GB, free: 13.63 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/1.037, allocations: 197.2 kB / 1.426 GB, free: 13.39 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/1.038, allocations: 0.8422 MB / 1.427 GB, free: 12.53 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001652/1.038, allocations: 57.7 kB / 1.427 GB, free: 12.46 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005412/1.039, allocations: 0.6368 MB / 1.427 GB, free: 11.82 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004209/1.039, allocations: 480.9 kB / 1.428 GB, free: 11.34 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004115/1.04, allocations: 262.8 kB / 1.428 GB, free: 11.07 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.04, allocations: 353.9 kB / 1.428 GB, free: 10.72 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/1.041, allocations: 490.3 kB / 1.429 GB, free: 10.25 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/1.042, allocations: 0.6424 MB / 1.429 GB, free: 9.574 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002204/1.044, allocations: 1.118 MB / 1.431 GB, free: 8.445 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.044, allocations: 0 / 1.431 GB, free: 8.445 MB / 1.154 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003573/1.048, allocations: 1.554 MB / 1.432 GB, free: 6.867 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/1.048, allocations: 8 kB / 1.432 GB, free: 6.859 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/1.048, allocations: 4 kB / 1.432 GB, free: 6.855 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009088/1.049, allocations: 192.2 kB / 1.432 GB, free: 6.652 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/1.05, allocations: 335.6 kB / 1.433 GB, free: 6.324 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005931/1.056, allocations: 7.283 MB / 1.44 GB, free: 14.34 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/1.058, allocations: 148.5 kB / 1.44 GB, free: 14.19 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002091/1.058, allocations: 59.95 kB / 1.44 GB, free: 14.13 MB / 1.17 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.0009426/1.059, allocations: 375.3 kB / 1.44 GB, free: 13.76 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004568/1.06, allocations: 134.5 kB / 1.44 GB, free: 13.62 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004292/1.064, allocations: 1.842 MB / 1.442 GB, free: 11.76 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/1.064, allocations: 19.98 kB / 1.442 GB, free: 11.74 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/1.064, allocations: 8 kB / 1.442 GB, free: 11.73 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/1.064, allocations: 3.984 kB / 1.442 GB, free: 11.73 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006418/1.07, allocations: 3.432 MB / 1.446 GB, free: 8.215 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/1.07, allocations: 0 / 1.446 GB, free: 8.215 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/1.072, allocations: 319.5 kB / 1.446 GB, free: 7.902 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007713/1.073, allocations: 180.1 kB / 1.446 GB, free: 7.711 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/1.073, allocations: 43.91 kB / 1.446 GB, free: 7.668 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005875/1.079, allocations: 7.319 MB / 1.453 GB, free: 15.64 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.079, allocations: 0 / 1.453 GB, free: 15.64 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004408/1.083, allocations: 1.709 MB / 1.455 GB, free: 13.89 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008452/1.084, allocations: 406.9 kB / 1.455 GB, free: 13.47 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003211/1.084, allocations: 31.98 kB / 1.455 GB, free: 13.44 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/1.086, allocations: 98.34 kB / 1.455 GB, free: 13.35 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002748/1.086, allocations: 117.1 kB / 1.456 GB, free: 13.23 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/1.086, allocations: 71.88 kB / 1.456 GB, free: 13.16 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008743/1.087, allocations: 0.5784 MB / 1.456 GB, free: 12.57 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.5e-07/1.087, allocations: 0 / 1.456 GB, free: 12.57 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00172/1.089, allocations: 0.6001 MB / 1.457 GB, free: 11.97 MB / 1.186 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.001801/1.091, allocations: 0.7274 MB / 1.457 GB, free: 11.43 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003409/1.094, allocations: 1.875 MB / 1.459 GB, free: 9.488 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/1.094, allocations: 4.562 kB / 1.459 GB, free: 9.484 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002035/1.096, allocations: 1.309 MB / 1.461 GB, free: 8.113 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/1.099, allocations: 0.5139 MB / 1.461 GB, free: 7.617 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00544/1.104, allocations: 2.832 MB / 1.464 GB, free: 4.754 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009542/1.105, allocations: 1.293 MB / 1.465 GB, free: 3.43 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006116/1.106, allocations: 183.3 kB / 1.465 GB, free: 3.25 MB / 1.186 GB Notification: Performance of SimCode: time 6.61e-07/1.106, allocations: 0 / 1.465 GB, free: 3.25 MB / 1.186 GB Notification: Performance of Templates: time 0.05983/1.166, allocations: 57.74 MB / 1.522 GB, free: 9.512 MB / 1.248 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