Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.008622/0.008622, allocations: 102.2 kB / 15.73 MB, free: 5.996 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.001946/0.001946, allocations: 185.5 kB / 16.67 MB, free: 5.93 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.576/2.576, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.91 kB / 1.019 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3153, allocations: 151.6 MB / 1.167 GB, free: 6.77 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.8332/1.149, allocations: 168.3 MB / 1.331 GB, free: 2.676 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02313/1.172, allocations: 17.07 MB / 1.348 GB, free: 6.449 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002441/1.174, allocations: 30.34 kB / 1.348 GB, free: 6.438 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001812/1.176, allocations: 0.5657 MB / 1.348 GB, free: 6.094 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00628/1.182, allocations: 1.649 MB / 1.35 GB, free: 5.152 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003993/1.186, allocations: 1.332 MB / 1.351 GB, free: 4.434 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004864/1.191, allocations: 2.697 MB / 1.354 GB, free: 3.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002709/1.194, allocations: 1.876 MB / 1.356 GB, free: 2.172 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00403/1.198, allocations: 1.388 MB / 1.357 GB, free: 1.543 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001413/1.199, allocations: 0.9876 MB / 1.358 GB, free: 1.039 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003391/1.2, allocations: 206.9 kB / 1.358 GB, free: 1.039 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003396/1.203, allocations: 1.421 MB / 1.359 GB, free: 0.5898 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005675/1.204, allocations: 0.5565 MB / 1.36 GB, free: 260 kB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001323/1.205, allocations: 1.043 MB / 1.361 GB, free: 15.59 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005221/1.21, allocations: 3.119 MB / 1.364 GB, free: 13.97 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.21, allocations: 0 / 1.364 GB, free: 13.97 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.246e-06/1.21, allocations: 1.094 kB / 1.364 GB, free: 13.97 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.604e-05/1.21, allocations: 3.938 kB / 1.364 GB, free: 13.97 MB / 1.045 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.004445/1.215, allocations: 2.347 MB / 1.366 GB, free: 12.2 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/1.215, allocations: 10.12 kB / 1.366 GB, free: 12.2 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003539/1.218, allocations: 0.5204 MB / 1.367 GB, free: 11.96 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002103/1.221, allocations: 1.124 MB / 1.368 GB, free: 11.07 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/1.221, allocations: 134.5 kB / 1.368 GB, free: 11.01 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/1.221, allocations: 162.5 kB / 1.368 GB, free: 10.96 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003219/1.224, allocations: 1.844 MB / 1.37 GB, free: 9.848 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/1.224, allocations: 5.375 kB / 1.37 GB, free: 9.844 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001669/1.224, allocations: 73.88 kB / 1.37 GB, free: 9.789 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.888e-05/1.224, allocations: 41.25 kB / 1.37 GB, free: 9.789 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003563/1.228, allocations: 1.881 MB / 1.372 GB, free: 8.887 MB / 1.045 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.01024/1.238, allocations: 5.515 MB / 1.377 GB, free: 4.348 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002939/1.241, allocations: 1.767 MB / 1.379 GB, free: 3.242 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001086/1.242, allocations: 0.6571 MB / 1.38 GB, free: 2.91 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008952/1.243, allocations: 0.7995 MB / 1.381 GB, free: 2.02 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00167/1.245, allocations: 0.8858 MB / 1.381 GB, free: 1.477 MB / 1.045 GB Notification: Performance of pre-optimization done (n=146): time 3.146e-06/1.245, allocations: 7.031 kB / 1.381 GB, free: 1.473 MB / 1.045 GB Notification: Performance of matching and sorting (n=146): time 0.006184/1.251, allocations: 2.559 MB / 1.384 GB, free: 15.91 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001711/1.251, allocations: 204.6 kB / 1.384 GB, free: 15.69 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/1.253, allocations: 0.839 MB / 1.385 GB, free: 15.2 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002475/1.253, allocations: 59.89 kB / 1.385 GB, free: 15.14 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008141/1.254, allocations: 0.6477 MB / 1.386 GB, free: 14.57 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005403/1.255, allocations: 0.4938 MB / 1.386 GB, free: 14.13 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004447/1.255, allocations: 261.1 kB / 1.386 GB, free: 13.97 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001852/1.255, allocations: 354.1 kB / 1.387 GB, free: 13.63 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/1.256, allocations: 496.8 kB / 1.387 GB, free: 13.39 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/1.258, allocations: 0.6434 MB / 1.388 GB, free: 13.01 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002285/1.26, allocations: 1.124 MB / 1.389 GB, free: 12.42 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/1.26, allocations: 0 / 1.389 GB, free: 12.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.004135/1.264, allocations: 1.554 MB / 1.39 GB, free: 11.61 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/1.264, allocations: 7.688 kB / 1.39 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/1.264, allocations: 96 / 1.39 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009969/1.265, allocations: 197.2 kB / 1.391 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/1.267, allocations: 337.5 kB / 1.391 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006757/1.274, allocations: 7.285 MB / 1.398 GB, free: 3.961 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/1.276, allocations: 153 kB / 1.398 GB, free: 3.859 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/1.276, allocations: 67.08 kB / 1.398 GB, free: 3.828 MB / 1.061 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.000995/1.277, allocations: 374.8 kB / 1.399 GB, free: 3.555 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003425/1.277, allocations: 136 kB / 1.399 GB, free: 3.484 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004036/1.281, allocations: 1.841 MB / 1.401 GB, free: 2.426 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/1.281, allocations: 14.66 kB / 1.401 GB, free: 2.426 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/1.281, allocations: 11.2 kB / 1.401 GB, free: 2.418 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/1.281, allocations: 3.984 kB / 1.401 GB, free: 2.414 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006925/1.288, allocations: 3.436 MB / 1.404 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/1.288, allocations: 0 / 1.404 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/1.29, allocations: 315.6 kB / 1.404 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007678/1.29, allocations: 192.1 kB / 1.404 GB, free: 15.18 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/1.291, allocations: 39.97 kB / 1.404 GB, free: 15.14 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005779/1.296, allocations: 7.315 MB / 1.412 GB, free: 7.125 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.296, allocations: 0 / 1.412 GB, free: 7.125 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00423/1.301, allocations: 1.721 MB / 1.413 GB, free: 5.367 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009632/1.302, allocations: 403.6 kB / 1.414 GB, free: 4.953 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000189/1.302, allocations: 31.98 kB / 1.414 GB, free: 4.922 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/1.303, allocations: 102.5 kB / 1.414 GB, free: 4.824 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002634/1.303, allocations: 113.1 kB / 1.414 GB, free: 4.715 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/1.303, allocations: 75.88 kB / 1.414 GB, free: 4.641 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009358/1.304, allocations: 0.5784 MB / 1.415 GB, free: 4.051 MB / 1.076 GB Notification: Performance of sort global known variables: time 3.11e-07/1.304, allocations: 0 / 1.415 GB, free: 4.051 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001877/1.306, allocations: 0.6079 MB / 1.415 GB, free: 3.441 MB / 1.076 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.001816/1.308, allocations: 0.7213 MB / 1.416 GB, free: 2.902 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003507/1.312, allocations: 1.879 MB / 1.418 GB, free: 0.957 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/1.312, allocations: 0.5625 kB / 1.418 GB, free: 0.957 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001961/1.314, allocations: 1.309 MB / 1.419 GB, free: 15.59 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00237/1.316, allocations: 0.5265 MB / 1.419 GB, free: 15.08 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005237/1.321, allocations: 2.821 MB / 1.422 GB, free: 12.22 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008914/1.322, allocations: 1.3 MB / 1.424 GB, free: 10.89 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001624/1.324, allocations: 442.3 kB / 1.424 GB, free: 10.45 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004242/1.324, allocations: 151.3 kB / 1.424 GB, free: 10.3 MB / 1.092 GB Notification: Performance of SimCode: time 6.71e-07/1.324, allocations: 0 / 1.424 GB, free: 10.3 MB / 1.092 GB Notification: Performance of Templates: time 0.05001/1.374, allocations: 27.97 MB / 1.451 GB, free: 14.69 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches