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.006843/0.006843, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001413/0.001413, allocations: 191.3 kB / 16.67 MB, free: 5.523 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 / 240.4 MB, free: 15.09 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.247/2.247, allocations: 390.2 MB / 0.6648 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 55.91 kB / 0.9508 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.841/0.8424, allocations: 140.4 MB / 1.088 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2198/1.062, allocations: 176 MB / 1.26 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01472/1.077, allocations: 10.85 MB / 1.27 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/1.078, allocations: 31.81 kB / 1.27 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001338/1.08, allocations: 404.9 kB / 1.271 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003976/1.084, allocations: 1.088 MB / 1.272 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00408/1.088, allocations: 1.713 MB / 1.274 GB, free: 15.58 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002361/1.09, allocations: 2.299 MB / 1.276 GB, free: 13.27 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001667/1.092, allocations: 1.447 MB / 1.277 GB, free: 11.78 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002808/1.095, allocations: 1.289 MB / 1.278 GB, free: 10.5 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008409/1.095, allocations: 0.7974 MB / 1.279 GB, free: 9.703 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001905/1.096, allocations: 156 kB / 1.279 GB, free: 9.551 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002415/1.098, allocations: 1.412 MB / 1.281 GB, free: 8.137 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003717/1.098, allocations: 454.7 kB / 1.281 GB, free: 7.691 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006825/1.099, allocations: 0.7656 MB / 1.282 GB, free: 6.922 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002823/1.102, allocations: 2.555 MB / 1.284 GB, free: 4.359 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/1.102, allocations: 0 / 1.284 GB, free: 4.359 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.623e-06/1.102, allocations: 0 / 1.284 GB, free: 4.359 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.557e-05/1.102, allocations: 4 kB / 1.284 GB, free: 4.355 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.003/1.105, allocations: 1.868 MB / 1.286 GB, free: 2.43 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/1.105, allocations: 8.031 kB / 1.286 GB, free: 2.422 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001992/1.107, allocations: 353.8 kB / 1.287 GB, free: 2.074 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/1.108, allocations: 0.9875 MB / 1.288 GB, free: 1.039 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.36e-05/1.109, allocations: 86.33 kB / 1.288 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/1.109, allocations: 116 kB / 1.288 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/1.111, allocations: 1.298 MB / 1.289 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/1.111, allocations: 3.984 kB / 1.289 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/1.111, allocations: 48 kB / 1.289 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.538e-05/1.111, allocations: 31.98 kB / 1.289 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002296/1.113, allocations: 1.453 MB / 1.291 GB, free: 13.93 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.005516/1.119, allocations: 3.821 MB / 1.294 GB, free: 9.957 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/1.121, allocations: 1.214 MB / 1.295 GB, free: 8.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007439/1.122, allocations: 451.4 kB / 1.296 GB, free: 8.289 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007226/1.122, allocations: 429.3 kB / 1.296 GB, free: 7.793 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001102/1.124, allocations: 0.6566 MB / 1.297 GB, free: 7.121 MB / 1.029 GB Notification: Performance of pre-optimization done (n=106): time 2.845e-06/1.124, allocations: 4 kB / 1.297 GB, free: 7.117 MB / 1.029 GB Notification: Performance of matching and sorting (n=106): time 0.003957/1.128, allocations: 1.606 MB / 1.299 GB, free: 5.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/1.128, allocations: 196.9 kB / 1.299 GB, free: 5.246 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/1.129, allocations: 0.8785 MB / 1.3 GB, free: 4.344 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.059e-05/1.129, allocations: 53.69 kB / 1.3 GB, free: 4.285 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004026/1.129, allocations: 0.516 MB / 1.3 GB, free: 3.762 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002665/1.13, allocations: 347 kB / 1.3 GB, free: 3.418 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003406/1.13, allocations: 206.8 kB / 1.301 GB, free: 3.207 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.13, allocations: 353.9 kB / 1.301 GB, free: 2.855 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007245/1.131, allocations: 382.4 kB / 1.301 GB, free: 2.484 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008623/1.132, allocations: 0.5085 MB / 1.302 GB, free: 1.949 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/1.133, allocations: 0.8757 MB / 1.303 GB, free: 1.055 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.133, allocations: 0 / 1.303 GB, free: 1.055 MB / 1.029 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002412/1.136, allocations: 1.169 MB / 1.304 GB, free: 15.88 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.136, allocations: 7.938 kB / 1.304 GB, free: 15.87 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.136, allocations: 0 / 1.304 GB, free: 15.87 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005771/1.136, allocations: 88.86 kB / 1.304 GB, free: 15.78 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009691/1.137, allocations: 231.7 kB / 1.304 GB, free: 15.55 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/1.139, allocations: 1.648 MB / 1.306 GB, free: 13.76 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008989/1.14, allocations: 130.9 kB / 1.306 GB, free: 13.63 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.826e-05/1.14, allocations: 47.91 kB / 1.306 GB, free: 13.58 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.0005047/1.141, allocations: 331.5 kB / 1.306 GB, free: 13.25 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/1.141, allocations: 118.5 kB / 1.306 GB, free: 13.13 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002965/1.144, allocations: 1.501 MB / 1.308 GB, free: 11.61 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/1.144, allocations: 12 kB / 1.308 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/1.144, allocations: 0 / 1.308 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/1.144, allocations: 3.984 kB / 1.308 GB, free: 11.59 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.004431/1.149, allocations: 2.839 MB / 1.311 GB, free: 8.641 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/1.149, allocations: 0 / 1.311 GB, free: 8.641 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008582/1.149, allocations: 203.7 kB / 1.311 GB, free: 8.441 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004105/1.15, allocations: 72.97 kB / 1.311 GB, free: 8.367 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.71e-05/1.15, allocations: 31.98 kB / 1.311 GB, free: 8.336 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/1.152, allocations: 1.678 MB / 1.313 GB, free: 6.516 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.152, allocations: 0 / 1.313 GB, free: 6.516 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003229/1.155, allocations: 1.866 MB / 1.314 GB, free: 4.609 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004745/1.155, allocations: 343.3 kB / 1.315 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/1.156, allocations: 35.97 kB / 1.315 GB, free: 4.219 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008297/1.156, allocations: 71.92 kB / 1.315 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/1.157, allocations: 92.75 kB / 1.315 GB, free: 4.059 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.159e-05/1.157, allocations: 47.97 kB / 1.315 GB, free: 4.012 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008063/1.158, allocations: 0.6261 MB / 1.316 GB, free: 3.375 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.91e-07/1.158, allocations: 3.938 kB / 1.316 GB, free: 3.371 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001128/1.159, allocations: 451.1 kB / 1.316 GB, free: 2.93 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.001537/1.16, allocations: 0.706 MB / 1.317 GB, free: 2.402 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002076/1.162, allocations: 1.101 MB / 1.318 GB, free: 1.289 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.162, allocations: 4 kB / 1.318 GB, free: 1.285 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/1.164, allocations: 0.6529 MB / 1.318 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/1.165, allocations: 0.5211 MB / 1.319 GB, free: 124 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004541/1.17, allocations: 2.482 MB / 1.321 GB, free: 13.59 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006693/1.171, allocations: 1.162 MB / 1.322 GB, free: 12.4 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001076/1.172, allocations: 365.7 kB / 1.323 GB, free: 12.04 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000331/1.172, allocations: 139.4 kB / 1.323 GB, free: 11.91 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/1.172, allocations: 0 / 1.323 GB, free: 11.91 MB / 1.061 GB Notification: Performance of Templates: time 0.03764/1.21, allocations: 23.61 MB / 1.346 GB, free: 4.598 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