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.001036/0.001036, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.001348/0.001348, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.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.585/2.585, allocations: 437.7 MB / 0.7117 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003304, allocations: 8 kB / 0.8722 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5812/0.5815, allocations: 153.8 MB / 1.022 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1597/0.7412, allocations: 160.4 MB / 1.179 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0134/0.7547, allocations: 10.13 MB / 1.189 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.7558, allocations: 31.81 kB / 1.189 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.7569, allocations: 289.8 kB / 1.189 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002786/0.7597, allocations: 0.8977 MB / 1.19 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003401/0.7632, allocations: 1.259 MB / 1.191 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00255/0.7657, allocations: 2.357 MB / 1.194 GB, free: 208 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.7671, allocations: 1.011 MB / 1.195 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001702/0.7688, allocations: 0.9649 MB / 1.196 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007527/0.7696, allocations: 0.6572 MB / 1.196 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.7697, allocations: 44 kB / 1.196 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001877/0.7716, allocations: 0.8891 MB / 1.197 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003037/0.7719, allocations: 310.8 kB / 1.197 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002523/0.7722, allocations: 285 kB / 1.198 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001757/0.7739, allocations: 1.789 MB / 1.199 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.7739, allocations: 4 kB / 1.199 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.593e-06/0.774, allocations: 0 / 1.199 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.823e-05/0.774, allocations: 0 / 1.199 GB, free: 10.23 MB / 0.9512 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.002662/0.7766, allocations: 1.603 MB / 1.201 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.7767, allocations: 16.02 kB / 1.201 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001996/0.7787, allocations: 361.7 kB / 1.201 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.7801, allocations: 0.9104 MB / 1.202 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.142e-05/0.7802, allocations: 86.33 kB / 1.202 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/0.7803, allocations: 120 kB / 1.202 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002122/0.7824, allocations: 1.294 MB / 1.204 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.7825, allocations: 0 / 1.204 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.7826, allocations: 48 kB / 1.204 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.7826, allocations: 28 kB / 1.204 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00231/0.7849, allocations: 1.457 MB / 1.205 GB, free: 4.137 MB / 0.9512 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.005636/0.7906, allocations: 4.098 MB / 1.209 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002068/0.7927, allocations: 1.207 MB / 1.21 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007417/0.7934, allocations: 452.4 kB / 1.211 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006907/0.7941, allocations: 449.1 kB / 1.211 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001208/0.7953, allocations: 0.6489 MB / 1.212 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=106): time 3.176e-06/0.7954, allocations: 0 / 1.212 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=106): time 0.003901/0.7993, allocations: 1.614 MB / 1.213 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.7994, allocations: 196.9 kB / 1.214 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.8006, allocations: 0.8746 MB / 1.214 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.82e-05/0.8007, allocations: 53.7 kB / 1.215 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003776/0.8011, allocations: 0.5082 MB / 1.215 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002697/0.8013, allocations: 347 kB / 1.215 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.103e-05/0.8014, allocations: 20 kB / 1.215 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.8015, allocations: 353.9 kB / 1.216 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007173/0.8023, allocations: 382.4 kB / 1.216 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008369/0.8031, allocations: 0.5045 MB / 1.217 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007867/0.8039, allocations: 438.9 kB / 1.217 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.8039, allocations: 0 / 1.217 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002314/0.8062, allocations: 1.169 MB / 1.218 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.8063, allocations: 7.938 kB / 1.218 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.8063, allocations: 7.938 kB / 1.218 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000533/0.8068, allocations: 84.86 kB / 1.218 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009917/0.8078, allocations: 239.6 kB / 1.218 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.8097, allocations: 1.549 MB / 1.22 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009111/0.8106, allocations: 143 kB / 1.22 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.611e-05/0.8107, allocations: 47.97 kB / 1.22 GB, free: 4.199 MB / 0.9669 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005221/0.8113, allocations: 323.3 kB / 1.22 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.8114, allocations: 122.5 kB / 1.221 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003004/0.8145, allocations: 1.521 MB / 1.222 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.8145, allocations: 12 kB / 1.222 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.8145, allocations: 0 / 1.222 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.8145, allocations: 7.969 kB / 1.222 GB, free: 2.188 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 postOpt removeSimpleEquations (simulation): time 0.004418/0.8189, allocations: 2.834 MB / 1.225 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/0.819, allocations: 4 kB / 1.225 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008914/0.8198, allocations: 199.8 kB / 1.225 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004682/0.8203, allocations: 88.91 kB / 1.225 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-05/0.8204, allocations: 35.97 kB / 1.225 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/0.8221, allocations: 1.552 MB / 1.227 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.8221, allocations: 144 / 1.227 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003213/0.8253, allocations: 1.872 MB / 1.229 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005014/0.8258, allocations: 363.1 kB / 1.229 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/0.826, allocations: 24 kB / 1.229 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008904/0.8269, allocations: 111.9 kB / 1.229 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.8271, allocations: 96.77 kB / 1.229 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.2e-05/0.8272, allocations: 47.97 kB / 1.229 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008029/0.828, allocations: 0.6183 MB / 1.23 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.683e-06/0.828, allocations: 0 / 1.23 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001134/0.8291, allocations: 463 kB / 1.23 GB, free: 9.59 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001528/0.8307, allocations: 0.7069 MB / 1.231 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002046/0.8327, allocations: 1.097 MB / 1.232 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.8327, allocations: 4 kB / 1.232 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.8339, allocations: 0.6529 MB / 1.233 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/0.8359, allocations: 493.5 kB / 1.233 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004134/0.8401, allocations: 2.962 MB / 1.236 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006754/0.8408, allocations: 1.166 MB / 1.237 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001298/0.8421, allocations: 365.7 kB / 1.237 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003475/0.8424, allocations: 135.4 kB / 1.238 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of SimCode: time 6.91e-07/0.8424, allocations: 0 / 1.238 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of Templates: time 0.4847/1.327, allocations: 22.06 MB / 1.259 GB, free: 227.8 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