Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_11_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_11_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.007671/0.007671, allocations: 100 kB / 15.73 MB, free: 6.062 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.001605/0.001605, allocations: 193.9 kB / 16.67 MB, free: 5.973 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.617/2.617, allocations: 469.8 MB / 0.7425 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 68.08 kB / 1.065 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8362/0.8374, allocations: 159.1 MB / 1.221 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.2008/1.038, allocations: 168.7 MB / 1.385 GB, free: 8.699 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02792/1.066, allocations: 17.1 MB / 1.402 GB, free: 7.543 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002724/1.069, allocations: 27.88 kB / 1.402 GB, free: 7.516 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002456/1.071, allocations: 0.5739 MB / 1.403 GB, free: 6.938 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.006932/1.078, allocations: 1.639 MB / 1.404 GB, free: 5.293 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004311/1.083, allocations: 1.338 MB / 1.406 GB, free: 3.969 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004475/1.087, allocations: 2.696 MB / 1.408 GB, free: 1.262 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003007/1.09, allocations: 1.542 MB / 1.41 GB, free: 15.66 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004354/1.094, allocations: 1.386 MB / 1.411 GB, free: 14.32 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001851/1.096, allocations: 0.9919 MB / 1.412 GB, free: 13.32 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0005874/1.097, allocations: 208 kB / 1.412 GB, free: 13.12 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003293/1.1, allocations: 1.423 MB / 1.414 GB, free: 11.7 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0009113/1.101, allocations: 0.5608 MB / 1.414 GB, free: 11.13 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001746/1.103, allocations: 1.034 MB / 1.415 GB, free: 10.09 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.005035/1.108, allocations: 3.126 MB / 1.418 GB, free: 6.957 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.108, allocations: 0 / 1.418 GB, free: 6.957 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.883e-06/1.108, allocations: 4 kB / 1.418 GB, free: 6.953 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.64e-05/1.108, allocations: 0 / 1.418 GB, free: 6.953 MB / 1.139 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.004804/1.113, allocations: 2.338 MB / 1.421 GB, free: 4.547 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/1.113, allocations: 8.625 kB / 1.421 GB, free: 4.539 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003894/1.117, allocations: 0.5217 MB / 1.421 GB, free: 4.016 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002259/1.119, allocations: 1.126 MB / 1.422 GB, free: 2.844 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/1.119, allocations: 127.4 kB / 1.422 GB, free: 2.719 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003468/1.119, allocations: 164 kB / 1.422 GB, free: 2.559 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003839/1.123, allocations: 1.848 MB / 1.424 GB, free: 0.6602 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.911e-05/1.123, allocations: 4 kB / 1.424 GB, free: 0.6562 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002282/1.123, allocations: 79.92 kB / 1.424 GB, free: 0.5781 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-05/1.123, allocations: 40 kB / 1.424 GB, free: 0.5391 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003726/1.127, allocations: 1.875 MB / 1.426 GB, free: 14.66 MB / 1.154 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.009227/1.136, allocations: 5.513 MB / 1.432 GB, free: 8.812 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003263/1.14, allocations: 1.671 MB / 1.433 GB, free: 7.066 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/1.141, allocations: 0.5968 MB / 1.434 GB, free: 6.469 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009559/1.142, allocations: 0.8078 MB / 1.435 GB, free: 5.496 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001843/1.144, allocations: 0.889 MB / 1.435 GB, free: 4.586 MB / 1.154 GB Notification: Performance of pre-optimization done (n=146): time 3.546e-06/1.144, allocations: 0 / 1.435 GB, free: 4.586 MB / 1.154 GB Notification: Performance of matching and sorting (n=146): time 0.006688/1.15, allocations: 2.557 MB / 1.438 GB, free: 1.918 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/1.15, allocations: 205.2 kB / 1.438 GB, free: 1.676 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/1.152, allocations: 0.8384 MB / 1.439 GB, free: 0.8125 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001887/1.152, allocations: 57.7 kB / 1.439 GB, free: 0.75 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005757/1.153, allocations: 0.6499 MB / 1.44 GB, free: 92 kB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005106/1.153, allocations: 0.4959 MB / 1.44 GB, free: 15.59 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004545/1.154, allocations: 258.8 kB / 1.44 GB, free: 15.32 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.154, allocations: 353.9 kB / 1.441 GB, free: 14.97 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/1.155, allocations: 0.4905 MB / 1.441 GB, free: 14.48 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/1.156, allocations: 0.6384 MB / 1.442 GB, free: 13.82 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00219/1.158, allocations: 1.122 MB / 1.443 GB, free: 12.68 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/1.158, allocations: 0 / 1.443 GB, free: 12.68 MB / 1.17 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003813/1.162, allocations: 1.546 MB / 1.444 GB, free: 11.12 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/1.162, allocations: 4.094 kB / 1.444 GB, free: 11.11 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/1.162, allocations: 7.938 kB / 1.444 GB, free: 11.11 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009833/1.163, allocations: 188.1 kB / 1.445 GB, free: 10.91 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/1.165, allocations: 343.4 kB / 1.445 GB, free: 10.57 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006584/1.172, allocations: 7.296 MB / 1.452 GB, free: 2.574 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/1.173, allocations: 155.1 kB / 1.452 GB, free: 2.422 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002569/1.173, allocations: 55.95 kB / 1.452 GB, free: 2.367 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.001044/1.174, allocations: 383.4 kB / 1.453 GB, free: 1.98 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004842/1.175, allocations: 135.2 kB / 1.453 GB, free: 1.848 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004412/1.179, allocations: 1.835 MB / 1.455 GB, free: 15.98 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/1.179, allocations: 20 kB / 1.455 GB, free: 15.96 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/1.179, allocations: 0 / 1.455 GB, free: 15.96 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/1.179, allocations: 11.86 kB / 1.455 GB, free: 15.96 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006563/1.186, allocations: 3.433 MB / 1.458 GB, free: 12.45 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/1.186, allocations: 0 / 1.458 GB, free: 12.45 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/1.187, allocations: 315.6 kB / 1.458 GB, free: 12.14 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007848/1.188, allocations: 184.1 kB / 1.458 GB, free: 11.94 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001233/1.188, allocations: 43.95 kB / 1.458 GB, free: 11.9 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005747/1.194, allocations: 7.322 MB / 1.466 GB, free: 3.859 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.194, allocations: 4.125 kB / 1.466 GB, free: 3.855 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004311/1.198, allocations: 1.713 MB / 1.467 GB, free: 2.105 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009138/1.199, allocations: 407.6 kB / 1.468 GB, free: 1.688 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003801/1.2, allocations: 28 kB / 1.468 GB, free: 1.66 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/1.201, allocations: 106.1 kB / 1.468 GB, free: 1.559 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002762/1.201, allocations: 109.2 kB / 1.468 GB, free: 1.453 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001862/1.202, allocations: 71.94 kB / 1.468 GB, free: 1.383 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001025/1.203, allocations: 0.5745 MB / 1.469 GB, free: 0.7969 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/1.203, allocations: 0 / 1.469 GB, free: 0.7969 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001952/1.205, allocations: 0.6118 MB / 1.469 GB, free: 188 kB / 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.001975/1.207, allocations: 0.741 MB / 1.47 GB, free: 15.63 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003607/1.21, allocations: 1.813 MB / 1.472 GB, free: 13.75 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-05/1.21, allocations: 8.562 kB / 1.472 GB, free: 13.74 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002609/1.213, allocations: 1.243 MB / 1.473 GB, free: 12.43 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003502/1.216, allocations: 0.5195 MB / 1.473 GB, free: 11.93 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006578/1.223, allocations: 2.822 MB / 1.476 GB, free: 9.082 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/1.224, allocations: 1.299 MB / 1.477 GB, free: 7.758 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001819/1.226, allocations: 446.3 kB / 1.478 GB, free: 7.316 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005231/1.226, allocations: 147.4 kB / 1.478 GB, free: 7.172 MB / 1.201 GB Notification: Performance of SimCode: time 1.042e-06/1.226, allocations: 0 / 1.478 GB, free: 7.172 MB / 1.201 GB Notification: Performance of Templates: time 0.05363/1.28, allocations: 28.14 MB / 1.505 GB, free: 11.39 MB / 1.232 GB make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches