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.001868/0.001868, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002203/0.002203, allocations: 192.2 kB / 16.25 MB, free: 6.637 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.433/1.433, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.795/2.795, allocations: 469.8 MB / 0.742 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 67.27 kB / 0.908 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3528, allocations: 159.2 MB / 1.063 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.204/0.5568, allocations: 166 MB / 1.226 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02238/0.5793, allocations: 16.87 MB / 1.242 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002921/0.5822, allocations: 27.81 kB / 1.242 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00252/0.5848, allocations: 473.1 kB / 1.242 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005754/0.5906, allocations: 1.466 MB / 1.244 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00353/0.5942, allocations: 1.203 MB / 1.245 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003998/0.5982, allocations: 2.688 MB / 1.248 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.605/1.203, allocations: 1.882 MB / 1.25 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00601/1.209, allocations: 1.327 MB / 1.251 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002058/1.211, allocations: 1.014 MB / 1.252 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006025/1.212, allocations: 207.4 kB / 1.252 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003109/1.215, allocations: 1.437 MB / 1.253 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006084/1.216, allocations: 0.5504 MB / 1.254 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001452/1.217, allocations: 1.041 MB / 1.255 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004359/1.222, allocations: 3.111 MB / 1.258 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/1.222, allocations: 0 / 1.258 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.364e-06/1.222, allocations: 0 / 1.258 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.155e-05/1.222, allocations: 3.938 kB / 1.258 GB, free: 6.289 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.004117/1.226, allocations: 2.279 MB / 1.26 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/1.226, allocations: 10.03 kB / 1.26 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003868/1.23, allocations: 0.5087 MB / 1.261 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004047/1.234, allocations: 1.081 MB / 1.262 GB, free: 20.73 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/1.234, allocations: 130.5 kB / 1.262 GB, free: 20.72 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003322/1.234, allocations: 164.6 kB / 1.262 GB, free: 20.72 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003851/1.238, allocations: 1.843 MB / 1.264 GB, free: 20.54 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.527e-05/1.238, allocations: 3.75 kB / 1.264 GB, free: 20.54 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001734/1.238, allocations: 80.91 kB / 1.264 GB, free: 20.54 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-05/1.238, allocations: 41.12 kB / 1.264 GB, free: 20.54 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003206/1.242, allocations: 1.869 MB / 1.266 GB, free: 20.53 MB / 1.014 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.00949/1.251, allocations: 5.556 MB / 1.271 GB, free: 18.27 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003353/1.255, allocations: 1.764 MB / 1.273 GB, free: 17.86 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/1.256, allocations: 0.6511 MB / 1.274 GB, free: 17.85 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/1.257, allocations: 0.8082 MB / 1.274 GB, free: 17 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001791/1.259, allocations: 0.891 MB / 1.275 GB, free: 16.92 MB / 1.014 GB Notification: Performance of pre-optimization done (n=146): time 3.336e-06/1.259, allocations: 3.938 kB / 1.275 GB, free: 16.92 MB / 1.014 GB Notification: Performance of matching and sorting (n=146): time 0.00639/1.265, allocations: 2.563 MB / 1.278 GB, free: 16.27 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/1.265, allocations: 201.2 kB / 1.278 GB, free: 16.05 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/1.267, allocations: 0.8324 MB / 1.279 GB, free: 15.89 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002552/1.267, allocations: 59.22 kB / 1.279 GB, free: 15.86 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000538/1.268, allocations: 0.638 MB / 1.279 GB, free: 15.57 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003692/1.268, allocations: 487.4 kB / 1.28 GB, free: 15.26 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003963/1.268, allocations: 257 kB / 1.28 GB, free: 15.24 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001777/1.269, allocations: 355.6 kB / 1.281 GB, free: 14.93 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009635/1.27, allocations: 496.6 kB / 1.281 GB, free: 14.93 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/1.271, allocations: 0.6395 MB / 1.282 GB, free: 14.85 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001993/1.273, allocations: 1.121 MB / 1.283 GB, free: 14.79 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/1.273, allocations: 2.75 kB / 1.283 GB, free: 14.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003578/1.276, allocations: 1.55 MB / 1.284 GB, free: 14.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/1.276, allocations: 6.906 kB / 1.284 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.276, allocations: 0 / 1.284 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009132/1.277, allocations: 192.2 kB / 1.284 GB, free: 14.58 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/1.279, allocations: 336.8 kB / 1.285 GB, free: 14.58 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006668/1.286, allocations: 7.292 MB / 1.292 GB, free: 7.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/1.287, allocations: 172 kB / 1.292 GB, free: 7.762 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/1.288, allocations: 57.94 kB / 1.292 GB, free: 7.762 MB / 1.014 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.0009725/1.289, allocations: 387.8 kB / 1.292 GB, free: 7.641 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000373/1.289, allocations: 129.1 kB / 1.293 GB, free: 7.578 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004087/1.293, allocations: 1.857 MB / 1.294 GB, free: 7.414 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/1.293, allocations: 15.94 kB / 1.294 GB, free: 7.414 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/1.293, allocations: 2.281 kB / 1.294 GB, free: 7.414 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/1.293, allocations: 11.08 kB / 1.294 GB, free: 7.41 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006454/1.3, allocations: 3.443 MB / 1.298 GB, free: 6.961 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/1.3, allocations: 2.281 kB / 1.298 GB, free: 6.961 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/1.301, allocations: 313.2 kB / 1.298 GB, free: 6.961 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007336/1.302, allocations: 186.5 kB / 1.298 GB, free: 6.922 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001148/1.302, allocations: 38.16 kB / 1.298 GB, free: 6.922 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006806/1.309, allocations: 7.319 MB / 1.305 GB, free: 16.16 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.309, allocations: 3.281 kB / 1.305 GB, free: 16.16 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004338/1.313, allocations: 1.709 MB / 1.307 GB, free: 15.88 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009894/1.314, allocations: 399 kB / 1.308 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002292/1.314, allocations: 34.77 kB / 1.308 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/1.316, allocations: 131.5 kB / 1.308 GB, free: 15.69 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003008/1.316, allocations: 110.3 kB / 1.308 GB, free: 15.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001601/1.316, allocations: 77.33 kB / 1.308 GB, free: 15.69 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009555/1.317, allocations: 0.5766 MB / 1.308 GB, free: 15.58 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.11e-07/1.317, allocations: 0 / 1.308 GB, free: 15.58 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002423/1.32, allocations: 0.6011 MB / 1.309 GB, free: 15.48 MB / 1.029 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.002456/1.322, allocations: 0.7268 MB / 1.31 GB, free: 15.26 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005524/1.328, allocations: 2.307 MB / 1.312 GB, free: 14.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/1.328, allocations: 4.594 kB / 1.312 GB, free: 14.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00209/1.33, allocations: 1.303 MB / 1.313 GB, free: 14.1 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002598/1.332, allocations: 0.5251 MB / 1.314 GB, free: 14.04 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005901/1.338, allocations: 3.542 MB / 1.317 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009615/1.339, allocations: 1.301 MB / 1.318 GB, free: 11.56 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002228/1.342, allocations: 442.2 kB / 1.319 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004304/1.342, allocations: 155.3 kB / 1.319 GB, free: 11.4 MB / 1.029 GB Notification: Performance of SimCode: time 8.02e-07/1.342, allocations: 0 / 1.319 GB, free: 11.4 MB / 1.029 GB Notification: Performance of Templates: time 0.04981/1.392, allocations: 27.59 MB / 1.346 GB, free: 4.137 MB / 1.029 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=400 -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