Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008194/0.008194, allocations: 97.06 kB / 15.73 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.002062/0.002063, allocations: 195 kB / 16.67 MB, free: 5.934 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.33/1.33, allocations: 222.9 MB / 240.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.277/2.277, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 63.91 kB / 0.9508 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8175/0.8187, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1996/1.018, allocations: 176 MB / 1.26 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01413/1.032, allocations: 10.85 MB / 1.27 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/1.034, allocations: 31.81 kB / 1.27 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001457/1.035, allocations: 404.9 kB / 1.271 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003269/1.038, allocations: 1.085 MB / 1.272 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00418/1.043, allocations: 1.713 MB / 1.274 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002694/1.045, allocations: 2.303 MB / 1.276 GB, free: 13.24 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002028/1.047, allocations: 1.448 MB / 1.277 GB, free: 11.75 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003135/1.051, allocations: 1.283 MB / 1.278 GB, free: 10.48 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/1.052, allocations: 0.7935 MB / 1.279 GB, free: 9.688 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002366/1.052, allocations: 156 kB / 1.279 GB, free: 9.535 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002473/1.054, allocations: 1.415 MB / 1.281 GB, free: 8.117 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003856/1.055, allocations: 446.7 kB / 1.281 GB, free: 7.68 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007142/1.055, allocations: 0.7773 MB / 1.282 GB, free: 6.898 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003402/1.059, allocations: 2.565 MB / 1.284 GB, free: 4.324 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.059, allocations: 0 / 1.284 GB, free: 4.324 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.913e-06/1.059, allocations: 0 / 1.284 GB, free: 4.324 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.118e-05/1.059, allocations: 4 kB / 1.284 GB, free: 4.32 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003699/1.063, allocations: 1.92 MB / 1.286 GB, free: 2.34 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/1.063, allocations: 8.031 kB / 1.286 GB, free: 2.332 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002203/1.065, allocations: 362.7 kB / 1.287 GB, free: 1.977 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/1.067, allocations: 0.9962 MB / 1.288 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.2e-05/1.067, allocations: 90.31 kB / 1.288 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/1.067, allocations: 112 kB / 1.288 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/1.069, allocations: 1.302 MB / 1.289 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/1.069, allocations: 0 / 1.289 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/1.069, allocations: 48 kB / 1.289 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/1.069, allocations: 28 kB / 1.289 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002384/1.072, allocations: 1.457 MB / 1.291 GB, free: 13.83 MB / 1.029 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.005937/1.078, allocations: 3.822 MB / 1.294 GB, free: 9.852 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002217/1.08, allocations: 1.224 MB / 1.296 GB, free: 8.613 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007775/1.081, allocations: 449.8 kB / 1.296 GB, free: 8.172 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007202/1.081, allocations: 425.3 kB / 1.296 GB, free: 7.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001131/1.083, allocations: 0.6605 MB / 1.297 GB, free: 7.004 MB / 1.029 GB Notification: Performance of pre-optimization done (n=106): time 2.725e-06/1.083, allocations: 4 kB / 1.297 GB, free: 7 MB / 1.029 GB Notification: Performance of matching and sorting (n=106): time 0.00408/1.087, allocations: 1.61 MB / 1.299 GB, free: 5.359 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.811e-05/1.087, allocations: 196.9 kB / 1.299 GB, free: 5.125 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/1.088, allocations: 0.8824 MB / 1.3 GB, free: 4.219 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.138e-05/1.088, allocations: 49.7 kB / 1.3 GB, free: 4.164 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004341/1.088, allocations: 0.5169 MB / 1.3 GB, free: 3.641 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002969/1.089, allocations: 368.9 kB / 1.301 GB, free: 3.277 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003342/1.089, allocations: 210.8 kB / 1.301 GB, free: 3.062 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001468/1.089, allocations: 357.9 kB / 1.301 GB, free: 2.707 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007612/1.09, allocations: 382.4 kB / 1.301 GB, free: 2.336 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008809/1.091, allocations: 0.5007 MB / 1.302 GB, free: 1.809 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/1.092, allocations: 0.8757 MB / 1.303 GB, free: 0.9141 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.093, allocations: 0 / 1.303 GB, free: 0.9141 MB / 1.029 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002521/1.095, allocations: 1.169 MB / 1.304 GB, free: 15.74 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/1.095, allocations: 4 kB / 1.304 GB, free: 15.73 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/1.095, allocations: 0 / 1.304 GB, free: 15.73 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006035/1.096, allocations: 92.86 kB / 1.304 GB, free: 15.64 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009798/1.097, allocations: 227.7 kB / 1.304 GB, free: 15.42 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/1.099, allocations: 1.665 MB / 1.306 GB, free: 13.6 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009772/1.1, allocations: 131.2 kB / 1.306 GB, free: 13.47 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.771e-05/1.1, allocations: 43.97 kB / 1.306 GB, free: 13.43 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (128): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005833/1.1, allocations: 323.3 kB / 1.306 GB, free: 13.1 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002624/1.101, allocations: 123.2 kB / 1.306 GB, free: 12.98 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003162/1.104, allocations: 1.509 MB / 1.308 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/1.104, allocations: 12.05 kB / 1.308 GB, free: 11.44 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.104, allocations: 3.984 kB / 1.308 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/1.104, allocations: 7.969 kB / 1.308 GB, free: 11.43 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 postOpt removeSimpleEquations (simulation): time 0.004965/1.109, allocations: 2.839 MB / 1.311 GB, free: 8.477 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/1.109, allocations: 0 / 1.311 GB, free: 8.477 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009103/1.11, allocations: 207.7 kB / 1.311 GB, free: 8.273 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004501/1.11, allocations: 68.98 kB / 1.311 GB, free: 8.203 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.1e-05/1.11, allocations: 35.97 kB / 1.311 GB, free: 8.168 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/1.112, allocations: 1.67 MB / 1.313 GB, free: 6.355 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/1.112, allocations: 4.062 kB / 1.313 GB, free: 6.352 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003472/1.116, allocations: 1.874 MB / 1.315 GB, free: 4.438 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005874/1.116, allocations: 347.9 kB / 1.315 GB, free: 4.078 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002167/1.117, allocations: 28 kB / 1.315 GB, free: 4.051 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009382/1.117, allocations: 71.92 kB / 1.315 GB, free: 3.98 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/1.118, allocations: 92.75 kB / 1.315 GB, free: 3.891 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.043e-05/1.118, allocations: 47.97 kB / 1.315 GB, free: 3.844 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000882/1.119, allocations: 0.6261 MB / 1.316 GB, free: 3.207 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.51e-07/1.119, allocations: 0 / 1.316 GB, free: 3.207 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00124/1.12, allocations: 462.8 kB / 1.316 GB, free: 2.754 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001726/1.122, allocations: 0.7119 MB / 1.317 GB, free: 2.219 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002318/1.124, allocations: 1.101 MB / 1.318 GB, free: 1.105 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.124, allocations: 0 / 1.318 GB, free: 1.105 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001218/1.125, allocations: 0.6607 MB / 1.319 GB, free: 444 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/1.127, allocations: 0.5189 MB / 1.319 GB, free: 15.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005077/1.133, allocations: 2.51 MB / 1.322 GB, free: 13.38 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007667/1.133, allocations: 1.166 MB / 1.323 GB, free: 12.18 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001187/1.135, allocations: 365.7 kB / 1.323 GB, free: 11.82 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003731/1.135, allocations: 139.4 kB / 1.323 GB, free: 11.69 MB / 1.061 GB Notification: Performance of SimCode: time 5.91e-07/1.135, allocations: 3.938 kB / 1.323 GB, free: 11.68 MB / 1.061 GB Notification: Performance of Templates: time 0.0534/1.188, allocations: 23.61 MB / 1.346 GB, free: 4.379 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches