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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001111/0.001111, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 196.1 kB / 16.63 MB, free: 6.613 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.322/1.322, allocations: 222.9 MB / 240.3 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.353/2.353, allocations: 390.3 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 67.39 kB / 0.9509 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.296, allocations: 140.4 MB / 1.088 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1862/0.4823, allocations: 176 MB / 1.26 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.7857/1.268, allocations: 10.83 MB / 1.27 GB, free: 3.438 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/1.269, allocations: 33.94 kB / 1.27 GB, free: 3.438 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001232/1.271, allocations: 400.8 kB / 1.271 GB, free: 3.434 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004044/1.275, allocations: 1.058 MB / 1.272 GB, free: 3.398 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0051/1.28, allocations: 1.694 MB / 1.274 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003784/1.284, allocations: 2.296 MB / 1.276 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002557/1.286, allocations: 1.449 MB / 1.277 GB, free: 3.152 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003951/1.29, allocations: 1.256 MB / 1.278 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001879/1.292, allocations: 0.7971 MB / 1.279 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003874/1.292, allocations: 155.4 kB / 1.279 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003668/1.296, allocations: 1.409 MB / 1.281 GB, free: 3.117 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005667/1.297, allocations: 449.1 kB / 1.281 GB, free: 3.117 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001159/1.298, allocations: 0.7717 MB / 1.282 GB, free: 3.113 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005878/1.304, allocations: 2.554 MB / 1.284 GB, free: 2.934 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.304, allocations: 0.6875 kB / 1.284 GB, free: 2.934 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.473e-06/1.304, allocations: 1.156 kB / 1.284 GB, free: 2.934 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.922e-05/1.304, allocations: 1 kB / 1.284 GB, free: 2.934 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.004311/1.308, allocations: 1.872 MB / 1.286 GB, free: 1.977 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/1.308, allocations: 8.969 kB / 1.286 GB, free: 1.977 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002307/1.311, allocations: 348.8 kB / 1.287 GB, free: 1.898 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/1.312, allocations: 0.9857 MB / 1.288 GB, free: 1.543 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.45e-05/1.312, allocations: 89.7 kB / 1.288 GB, free: 1.539 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001823/1.313, allocations: 118.1 kB / 1.288 GB, free: 1.539 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002538/1.315, allocations: 1.297 MB / 1.289 GB, free: 1.359 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/1.315, allocations: 6.5 kB / 1.289 GB, free: 1.355 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/1.315, allocations: 50.17 kB / 1.289 GB, free: 1.355 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.54e-05/1.315, allocations: 29.62 kB / 1.289 GB, free: 1.355 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002665/1.318, allocations: 1.453 MB / 1.291 GB, free: 1.34 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.006596/1.325, allocations: 3.813 MB / 1.294 GB, free: 96 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002313/1.327, allocations: 1.221 MB / 1.295 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008001/1.328, allocations: 448.5 kB / 1.296 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007878/1.329, allocations: 431.2 kB / 1.296 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001199/1.33, allocations: 0.6595 MB / 1.297 GB, free: 15.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=106): time 3.046e-06/1.33, allocations: 0 / 1.297 GB, free: 15.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=106): time 0.004371/1.334, allocations: 1.608 MB / 1.298 GB, free: 15.28 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/1.334, allocations: 195.6 kB / 1.299 GB, free: 15.06 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/1.336, allocations: 0.8813 MB / 1.3 GB, free: 14.91 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001804/1.336, allocations: 48.36 kB / 1.3 GB, free: 14.88 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004723/1.337, allocations: 0.5153 MB / 1.3 GB, free: 14.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003339/1.337, allocations: 350.1 kB / 1.3 GB, free: 14.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000335/1.337, allocations: 209.2 kB / 1.301 GB, free: 14.42 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.337, allocations: 352.6 kB / 1.301 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000763/1.338, allocations: 382.4 kB / 1.301 GB, free: 14.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000907/1.339, allocations: 0.5069 MB / 1.302 GB, free: 14.03 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/1.341, allocations: 0.8675 MB / 1.303 GB, free: 13.96 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/1.341, allocations: 3.938 kB / 1.303 GB, free: 13.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002836/1.344, allocations: 1.17 MB / 1.304 GB, free: 13.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/1.344, allocations: 6.844 kB / 1.304 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/1.344, allocations: 2.656 kB / 1.304 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006299/1.344, allocations: 87.56 kB / 1.304 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/1.345, allocations: 229 kB / 1.304 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002385/1.348, allocations: 1.647 MB / 1.306 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/1.349, allocations: 132.7 kB / 1.306 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/1.349, allocations: 46.19 kB / 1.306 GB, free: 12.39 MB / 1.029 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.0008293/1.35, allocations: 328.3 kB / 1.306 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002947/1.351, allocations: 116.2 kB / 1.306 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003276/1.354, allocations: 1.5 MB / 1.308 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/1.354, allocations: 14.58 kB / 1.308 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/1.354, allocations: 0.7812 kB / 1.308 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/1.354, allocations: 6.672 kB / 1.308 GB, free: 12.07 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 postOpt removeSimpleEquations (simulation): time 0.005287/1.359, allocations: 2.833 MB / 1.311 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/1.359, allocations: 2.312 kB / 1.311 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009238/1.36, allocations: 199.2 kB / 1.311 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004561/1.361, allocations: 78.66 kB / 1.311 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.644e-05/1.361, allocations: 37.92 kB / 1.311 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/1.363, allocations: 1.672 MB / 1.312 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.363, allocations: 6.375 kB / 1.313 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003662/1.366, allocations: 1.859 MB / 1.314 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006671/1.367, allocations: 353.9 kB / 1.315 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/1.367, allocations: 31.78 kB / 1.315 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000893/1.368, allocations: 73.8 kB / 1.315 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001981/1.368, allocations: 84.17 kB / 1.315 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/1.368, allocations: 52.83 kB / 1.315 GB, free: 9.629 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000875/1.369, allocations: 0.6251 MB / 1.316 GB, free: 9.52 MB / 1.029 GB Notification: Performance of sort global known variables: time 2e-07/1.369, allocations: 0 / 1.316 GB, free: 9.52 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001444/1.371, allocations: 447.4 kB / 1.316 GB, free: 9.453 MB / 1.029 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.001633/1.372, allocations: 0.707 MB / 1.317 GB, free: 9.215 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002216/1.375, allocations: 1.108 MB / 1.318 GB, free: 9.074 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.375, allocations: 4.688 kB / 1.318 GB, free: 9.074 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/1.376, allocations: 0.654 MB / 1.318 GB, free: 8.961 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/1.378, allocations: 0.5179 MB / 1.319 GB, free: 8.895 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004806/1.383, allocations: 2.496 MB / 1.321 GB, free: 7.984 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006801/1.383, allocations: 1.161 MB / 1.322 GB, free: 7.266 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001268/1.385, allocations: 371.3 kB / 1.323 GB, free: 7.16 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/1.385, allocations: 133.6 kB / 1.323 GB, free: 7.152 MB / 1.029 GB Notification: Performance of SimCode: time 6.51e-07/1.385, allocations: 0 / 1.323 GB, free: 7.152 MB / 1.029 GB Notification: Performance of Templates: time 0.03891/1.424, allocations: 23.4 MB / 1.346 GB, free: 1.012 MB / 1.029 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