Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002033/0.002033, allocations: 108 kB / 15.6 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.002443/0.002444, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.515/1.515, allocations: 222.9 MB / 240.2 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.037/3.037, allocations: 482.6 MB / 0.7549 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 64.7 kB / 0.9241 GB, free: 29.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3918, allocations: 162.3 MB / 1.083 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.9996/1.391, allocations: 195.1 MB / 1.273 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01981/1.411, allocations: 14.33 MB / 1.287 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002577/1.414, allocations: 36.44 kB / 1.287 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002181/1.416, allocations: 0.4993 MB / 1.288 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006648/1.423, allocations: 1.875 MB / 1.289 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003074/1.426, allocations: 0.8618 MB / 1.29 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004228/1.43, allocations: 2.568 MB / 1.293 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001994/1.432, allocations: 1.113 MB / 1.294 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006028/1.438, allocations: 1.797 MB / 1.296 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002321/1.441, allocations: 0.9047 MB / 1.297 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002831/1.441, allocations: 105.6 kB / 1.297 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003016/1.444, allocations: 1.087 MB / 1.298 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007276/1.445, allocations: 0.4968 MB / 1.298 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001113/1.446, allocations: 0.636 MB / 1.299 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003594/1.449, allocations: 1.885 MB / 1.301 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.449, allocations: 0.8438 kB / 1.301 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.903e-06/1.449, allocations: 1.5 kB / 1.301 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.985e-05/1.449, allocations: 4.875 kB / 1.301 GB, free: 6.914 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003653/1.453, allocations: 1.45 MB / 1.302 GB, free: 22.13 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/1.453, allocations: 9.25 kB / 1.302 GB, free: 22.13 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/1.455, allocations: 255.1 kB / 1.302 GB, free: 22.07 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/1.456, allocations: 0.7519 MB / 1.303 GB, free: 21.76 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.299e-05/1.456, allocations: 69.06 kB / 1.303 GB, free: 21.75 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001909/1.457, allocations: 99.75 kB / 1.303 GB, free: 21.75 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/1.459, allocations: 1.168 MB / 1.304 GB, free: 21.53 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/1.459, allocations: 2.781 kB / 1.304 GB, free: 21.53 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.576e-05/1.459, allocations: 44.66 kB / 1.304 GB, free: 21.53 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.408e-05/1.459, allocations: 32.06 kB / 1.304 GB, free: 21.52 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/1.46, allocations: 0.907 MB / 1.305 GB, free: 21.51 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.006592/1.467, allocations: 5.84 MB / 1.311 GB, free: 17.65 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009215/1.468, allocations: 0.5363 MB / 1.312 GB, free: 17.62 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005361/1.468, allocations: 322.6 kB / 1.312 GB, free: 17.6 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006677/1.469, allocations: 315.3 kB / 1.312 GB, free: 17.32 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/1.469, allocations: 39.81 kB / 1.312 GB, free: 17.28 MB / 1.014 GB Notification: Performance of pre-optimization done (n=49): time 2.936e-06/1.469, allocations: 0 / 1.312 GB, free: 17.28 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.001747/1.471, allocations: 0.7974 MB / 1.313 GB, free: 17.2 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.711e-05/1.471, allocations: 56.56 kB / 1.313 GB, free: 17.13 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/1.472, allocations: 0.7563 MB / 1.314 GB, free: 17 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.331e-05/1.472, allocations: 40.58 kB / 1.314 GB, free: 16.96 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003405/1.473, allocations: 0.5039 MB / 1.314 GB, free: 16.72 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/1.473, allocations: 175.6 kB / 1.314 GB, free: 16.61 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/1.473, allocations: 146.8 kB / 1.315 GB, free: 16.59 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002589/1.473, allocations: 339.6 kB / 1.315 GB, free: 16.28 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/1.474, allocations: 248.4 kB / 1.315 GB, free: 16.27 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005673/1.474, allocations: 0.5501 MB / 1.316 GB, free: 15.92 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000993/1.475, allocations: 0.8008 MB / 1.316 GB, free: 15.63 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/1.475, allocations: 6.156 kB / 1.316 GB, free: 15.63 MB / 1.014 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001378/1.477, allocations: 0.8484 MB / 1.317 GB, free: 15.54 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/1.477, allocations: 10.91 kB / 1.317 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/1.477, allocations: 8.625 kB / 1.317 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.227e-05/1.477, allocations: 12.12 kB / 1.317 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005602/1.477, allocations: 153.5 kB / 1.318 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.276e-05/1.477, allocations: 18.45 kB / 1.318 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009075/1.478, allocations: 93.62 kB / 1.318 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.394e-05/1.478, allocations: 33.69 kB / 1.318 GB, free: 15.5 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007705/1.479, allocations: 336.2 kB / 1.318 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/1.479, allocations: 85.88 kB / 1.318 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/1.481, allocations: 0.6146 MB / 1.319 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/1.481, allocations: 6.406 kB / 1.319 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.481, allocations: 3.938 kB / 1.319 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008739/1.481, allocations: 0.521 MB / 1.319 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003033/1.484, allocations: 1.668 MB / 1.321 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/1.484, allocations: 2.281 kB / 1.321 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005047/1.485, allocations: 112.2 kB / 1.321 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/1.485, allocations: 4.25 kB / 1.321 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.039e-05/1.485, allocations: 20.73 kB / 1.321 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/1.485, allocations: 8.859 kB / 1.321 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/1.485, allocations: 4.406 kB / 1.321 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/1.486, allocations: 1.016 MB / 1.322 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003571/1.487, allocations: 224.3 kB / 1.322 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/1.487, allocations: 20.12 kB / 1.322 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004543/1.487, allocations: 14.33 kB / 1.322 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.692e-05/1.487, allocations: 35.58 kB / 1.322 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.969e-05/1.487, allocations: 15.12 kB / 1.322 GB, free: 14.42 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007707/1.488, allocations: 0.5103 MB / 1.323 GB, free: 14.33 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.488, allocations: 0 / 1.323 GB, free: 14.33 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001281/1.49, allocations: 300.3 kB / 1.323 GB, free: 14.29 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006115/1.49, allocations: 218.8 kB / 1.323 GB, free: 14.18 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001146/1.491, allocations: 0.7109 MB / 1.324 GB, free: 14.16 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.491, allocations: 1.375 kB / 1.324 GB, free: 14.16 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000356/1.492, allocations: 275.1 kB / 1.324 GB, free: 14.16 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/1.494, allocations: 446.9 kB / 1.325 GB, free: 14.05 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003069/1.497, allocations: 1.941 MB / 1.326 GB, free: 12.99 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008003/1.498, allocations: 1.121 MB / 1.328 GB, free: 12.23 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009384/1.498, allocations: 263.1 kB / 1.328 GB, free: 12.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/1.499, allocations: 73.56 kB / 1.328 GB, free: 12.18 MB / 1.014 GB Notification: Performance of SimCode: time 7.92e-07/1.499, allocations: 4 kB / 1.328 GB, free: 12.18 MB / 1.014 GB Notification: Performance of Templates: time 0.0272/1.526, allocations: 15.41 MB / 1.343 GB, free: 10.07 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches