Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_10_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_10_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.001523/0.001524, allocations: 101.8 kB / 16.36 MB, free: 5.824 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.001793/0.001793, allocations: 193.3 kB / 17.29 MB, free: 5.48 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.404/2.404, allocations: 437.1 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 62.97 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2841, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.6917/0.9758, allocations: 176.5 MB / 1.191 GB, free: 184 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01424/0.9901, allocations: 10.91 MB / 1.202 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.9914, allocations: 32.72 kB / 1.202 GB, free: 7.352 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.9926, allocations: 410.9 kB / 1.202 GB, free: 6.996 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003049/0.9957, allocations: 1.097 MB / 1.203 GB, free: 6.152 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004073/0.9998, allocations: 1.717 MB / 1.205 GB, free: 4.867 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002849/1.003, allocations: 2.373 MB / 1.207 GB, free: 3.445 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001779/1.004, allocations: 1.397 MB / 1.209 GB, free: 2.539 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002976/1.007, allocations: 1.263 MB / 1.21 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/1.008, allocations: 0.8067 MB / 1.211 GB, free: 1.25 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001899/1.009, allocations: 156.1 kB / 1.211 GB, free: 1.25 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002696/1.011, allocations: 1.409 MB / 1.212 GB, free: 0.5469 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003897/1.012, allocations: 454.2 kB / 1.213 GB, free: 212 kB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007905/1.013, allocations: 0.7851 MB / 1.213 GB, free: 15.65 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003314/1.016, allocations: 2.587 MB / 1.216 GB, free: 13.89 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.016, allocations: 0 / 1.216 GB, free: 13.89 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.603e-06/1.016, allocations: 0 / 1.216 GB, free: 13.89 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.365e-05/1.016, allocations: 0 / 1.216 GB, free: 13.89 MB / 0.92 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.003192/1.019, allocations: 1.896 MB / 1.218 GB, free: 12.45 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/1.019, allocations: 8.703 kB / 1.218 GB, free: 12.45 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002139/1.021, allocations: 352.7 kB / 1.218 GB, free: 12.29 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/1.023, allocations: 0.9849 MB / 1.219 GB, free: 11.51 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.062e-05/1.023, allocations: 86.48 kB / 1.219 GB, free: 11.47 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/1.023, allocations: 119.7 kB / 1.219 GB, free: 11.42 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/1.025, allocations: 1.302 MB / 1.221 GB, free: 10.05 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/1.025, allocations: 0 / 1.221 GB, free: 10.05 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/1.026, allocations: 51.98 kB / 1.221 GB, free: 10 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/1.026, allocations: 28 kB / 1.221 GB, free: 9.977 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002344/1.028, allocations: 1.445 MB / 1.222 GB, free: 8.523 MB / 0.92 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.006049/1.034, allocations: 4.039 MB / 1.226 GB, free: 4.281 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002135/1.036, allocations: 1.211 MB / 1.227 GB, free: 3.043 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007483/1.037, allocations: 448.6 kB / 1.228 GB, free: 2.602 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007367/1.038, allocations: 425.3 kB / 1.228 GB, free: 2.109 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/1.039, allocations: 0.6567 MB / 1.229 GB, free: 1.438 MB / 0.92 GB Notification: Performance of pre-optimization done (n=106): time 2.895e-06/1.039, allocations: 4 kB / 1.229 GB, free: 1.434 MB / 0.92 GB Notification: Performance of matching and sorting (n=106): time 0.004231/1.043, allocations: 1.598 MB / 1.23 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/1.043, allocations: 196.9 kB / 1.23 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/1.044, allocations: 0.8824 MB / 1.231 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-05/1.044, allocations: 49.7 kB / 1.231 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004005/1.045, allocations: 0.5199 MB / 1.232 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000284/1.045, allocations: 354.9 kB / 1.232 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000329/1.046, allocations: 202.8 kB / 1.232 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000129/1.046, allocations: 349.9 kB / 1.233 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007354/1.046, allocations: 386.4 kB / 1.233 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008439/1.047, allocations: 0.5007 MB / 1.234 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/1.049, allocations: 0.8757 MB / 1.234 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.049, allocations: 0 / 1.234 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002606/1.051, allocations: 1.165 MB / 1.236 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/1.051, allocations: 4 kB / 1.236 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.051, allocations: 0 / 1.236 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006046/1.052, allocations: 92.8 kB / 1.236 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/1.053, allocations: 227.7 kB / 1.236 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/1.055, allocations: 1.656 MB / 1.237 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/1.056, allocations: 127 kB / 1.238 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/1.057, allocations: 47.97 kB / 1.238 GB, free: 7.914 MB / 0.9356 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.0006115/1.057, allocations: 323.3 kB / 1.238 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/1.057, allocations: 118.5 kB / 1.238 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003193/1.061, allocations: 1.509 MB / 1.24 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/1.061, allocations: 12 kB / 1.24 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/1.061, allocations: 3.938 kB / 1.24 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/1.061, allocations: 7.969 kB / 1.24 GB, free: 5.914 MB / 0.9356 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.005051/1.066, allocations: 2.843 MB / 1.242 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/1.066, allocations: 0 / 1.242 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000941/1.067, allocations: 203.8 kB / 1.243 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004418/1.067, allocations: 80.91 kB / 1.243 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.102e-05/1.067, allocations: 35.97 kB / 1.243 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001873/1.069, allocations: 1.674 MB / 1.244 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/1.069, allocations: 0 / 1.244 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003686/1.073, allocations: 1.862 MB / 1.246 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007579/1.074, allocations: 343.3 kB / 1.246 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/1.074, allocations: 31.84 kB / 1.246 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009051/1.075, allocations: 77.75 kB / 1.247 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/1.075, allocations: 88.81 kB / 1.247 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.922e-05/1.075, allocations: 47.97 kB / 1.247 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009115/1.076, allocations: 0.6222 MB / 1.247 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.41e-07/1.076, allocations: 4 kB / 1.247 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001381/1.077, allocations: 459.1 kB / 1.248 GB, free: 13.24 MB / 0.9512 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.001738/1.079, allocations: 0.7193 MB / 1.248 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00222/1.081, allocations: 1.097 MB / 1.249 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/1.081, allocations: 8.062 kB / 1.249 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001146/1.083, allocations: 0.6562 MB / 1.25 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/1.085, allocations: 0.5242 MB / 1.251 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004013/1.089, allocations: 2.369 MB / 1.253 GB, free: 8 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006999/1.089, allocations: 1.163 MB / 1.254 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001243/1.091, allocations: 373.7 kB / 1.254 GB, free: 6.445 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003529/1.091, allocations: 131.4 kB / 1.255 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of SimCode: time 6.51e-07/1.091, allocations: 0 / 1.255 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of Templates: time 0.03845/1.129, allocations: 23.82 MB / 1.278 GB, free: 14.82 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches