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.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,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.001325/0.001325, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001468/0.001468, allocations: 192.3 kB / 16.25 MB, free: 6.637 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.46/1.46, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.626/2.626, allocations: 437 MB / 0.71 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 63.88 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6431/0.6445, allocations: 151.6 MB / 1.017 GB, free: 2.855 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1835/0.8281, allocations: 174.2 MB / 1.187 GB, free: 4.031 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01534/0.8434, allocations: 10.78 MB / 1.197 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001459/0.8449, allocations: 23.88 kB / 1.197 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001541/0.8465, allocations: 341.8 kB / 1.198 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003603/0.8502, allocations: 0.9991 MB / 1.199 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004313/0.8545, allocations: 1.56 MB / 1.2 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003033/0.8576, allocations: 2.373 MB / 1.203 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002081/0.8596, allocations: 1.396 MB / 1.204 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00382/0.8635, allocations: 1.257 MB / 1.205 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.8647, allocations: 0.8325 MB / 1.206 GB, free: 416 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003538/0.8651, allocations: 156 kB / 1.206 GB, free: 260 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002733/0.8678, allocations: 1.419 MB / 1.207 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005244/0.8684, allocations: 454.7 kB / 1.208 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.8695, allocations: 0.7891 MB / 1.209 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00436/0.8739, allocations: 2.59 MB / 1.211 GB, free: 11 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8739, allocations: 0 / 1.211 GB, free: 11 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8739, allocations: 0 / 1.211 GB, free: 11 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.817e-05/0.874, allocations: 0 / 1.211 GB, free: 11 MB / 0.9669 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.003999/0.878, allocations: 1.876 MB / 1.213 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.878, allocations: 15.97 kB / 1.213 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002302/0.8803, allocations: 353.8 kB / 1.213 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/0.882, allocations: 0.9446 MB / 1.214 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.752e-05/0.8821, allocations: 86.33 kB / 1.214 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/0.8823, allocations: 120 kB / 1.215 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/0.8849, allocations: 1.298 MB / 1.216 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.8849, allocations: 4 kB / 1.216 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.885, allocations: 48 kB / 1.216 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.8851, allocations: 28 kB / 1.216 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002546/0.8876, allocations: 1.453 MB / 1.217 GB, free: 4.602 MB / 0.9669 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.006876/0.8945, allocations: 4.072 MB / 1.221 GB, free: 332 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002316/0.8969, allocations: 1.21 MB / 1.222 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008278/0.8977, allocations: 458.8 kB / 1.223 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007751/0.8985, allocations: 425.3 kB / 1.223 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001234/0.8997, allocations: 0.6566 MB / 1.224 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=106): time 3.126e-06/0.8998, allocations: 0 / 1.224 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=106): time 0.004437/0.9042, allocations: 1.61 MB / 1.226 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.9043, allocations: 196.9 kB / 1.226 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/0.9057, allocations: 0.8785 MB / 1.227 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001279/0.9059, allocations: 49.7 kB / 1.227 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004591/0.9063, allocations: 0.5121 MB / 1.227 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000338/0.9067, allocations: 358.9 kB / 1.227 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003489/0.907, allocations: 202.8 kB / 1.228 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.9072, allocations: 357.9 kB / 1.228 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008096/0.908, allocations: 382.4 kB / 1.228 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009131/0.9089, allocations: 0.4968 MB / 1.229 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/0.9106, allocations: 0.8757 MB / 1.23 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.882e-06/0.9107, allocations: 4 kB / 1.23 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002853/0.9135, allocations: 1.161 MB / 1.231 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.9135, allocations: 8 kB / 1.231 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.9136, allocations: 4 kB / 1.231 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006593/0.9142, allocations: 88.86 kB / 1.231 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.9153, allocations: 223.7 kB / 1.231 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002324/0.9176, allocations: 1.665 MB / 1.233 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.9188, allocations: 138.9 kB / 1.233 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.9189, allocations: 47.97 kB / 1.233 GB, free: 3.938 MB / 0.9825 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.0006411/0.9196, allocations: 319.3 kB / 1.233 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003021/0.9199, allocations: 122.5 kB / 1.233 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003307/0.9232, allocations: 1.505 MB / 1.235 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.9232, allocations: 8 kB / 1.235 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.9232, allocations: 4 kB / 1.235 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.9233, allocations: 7.969 kB / 1.235 GB, free: 1.945 MB / 0.9825 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.005125/0.9284, allocations: 2.834 MB / 1.238 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.9284, allocations: 0 / 1.238 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009444/0.9294, allocations: 195.7 kB / 1.238 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004909/0.9299, allocations: 76.97 kB / 1.238 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.525e-05/0.93, allocations: 35.97 kB / 1.238 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/0.932, allocations: 1.681 MB / 1.24 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.932, allocations: 4 kB / 1.24 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003688/0.9357, allocations: 1.856 MB / 1.241 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006601/0.9364, allocations: 355.2 kB / 1.242 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002587/0.9366, allocations: 24 kB / 1.242 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.9377, allocations: 82.16 kB / 1.242 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002006/0.9379, allocations: 92.75 kB / 1.242 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/0.938, allocations: 51.97 kB / 1.242 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009821/0.939, allocations: 0.6222 MB / 1.243 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.939, allocations: 0 / 1.243 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001363/0.9404, allocations: 471 kB / 1.243 GB, free: 9.27 MB / 0.9981 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.001745/0.9422, allocations: 0.7063 MB / 1.244 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003356/0.9455, allocations: 1.374 MB / 1.245 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.9456, allocations: 0 / 1.245 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.9469, allocations: 0.6646 MB / 1.246 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/0.9495, allocations: 0.5266 MB / 1.246 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004884/0.9544, allocations: 2.93 MB / 1.249 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008871/0.9553, allocations: 1.166 MB / 1.25 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001575/0.9569, allocations: 365.7 kB / 1.251 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004379/0.9574, allocations: 139.4 kB / 1.251 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of SimCode: time 1.462e-06/0.9574, allocations: 3.938 kB / 1.251 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of Templates: time 0.585/1.542, allocations: 23.68 MB / 1.274 GB, free: 224.7 MB / 0.9981 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches