Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_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.008135/0.008135, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001712/0.001713, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.541/2.541, allocations: 390.2 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 67.95 kB / 0.9509 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3331, allocations: 140.4 MB / 1.088 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.8681/1.201, allocations: 195.1 MB / 1.278 GB, free: 3.48 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01953/1.221, allocations: 14.32 MB / 1.292 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002094/1.223, allocations: 36.41 kB / 1.292 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00172/1.225, allocations: 0.5106 MB / 1.293 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005524/1.23, allocations: 1.961 MB / 1.295 GB, free: 3.238 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002683/1.233, allocations: 0.8715 MB / 1.296 GB, free: 3.219 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003824/1.237, allocations: 2.573 MB / 1.298 GB, free: 3.219 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001899/1.239, allocations: 1.123 MB / 1.299 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005666/1.244, allocations: 1.647 MB / 1.301 GB, free: 3.082 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002142/1.247, allocations: 0.9207 MB / 1.302 GB, free: 3.082 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002389/1.247, allocations: 107.6 kB / 1.302 GB, free: 3.082 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002721/1.249, allocations: 1.107 MB / 1.303 GB, free: 3.07 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006507/1.25, allocations: 0.4983 MB / 1.304 GB, free: 3.062 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001119/1.251, allocations: 0.6366 MB / 1.304 GB, free: 3.047 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004184/1.255, allocations: 1.908 MB / 1.306 GB, free: 2.801 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.256, allocations: 1.156 kB / 1.306 GB, free: 2.801 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.814e-06/1.256, allocations: 0.8438 kB / 1.306 GB, free: 2.801 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.303e-05/1.256, allocations: 0 / 1.306 GB, free: 2.801 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003034/1.259, allocations: 1.451 MB / 1.307 GB, free: 2.02 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/1.259, allocations: 9.125 kB / 1.307 GB, free: 2.02 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001551/1.26, allocations: 248.2 kB / 1.308 GB, free: 1.961 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/1.262, allocations: 0.7908 MB / 1.308 GB, free: 1.645 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.908e-05/1.262, allocations: 72.53 kB / 1.309 GB, free: 1.637 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/1.262, allocations: 94.09 kB / 1.309 GB, free: 1.637 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/1.264, allocations: 1.171 MB / 1.31 GB, free: 1.414 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/1.264, allocations: 2.094 kB / 1.31 GB, free: 1.414 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.331e-05/1.264, allocations: 37.66 kB / 1.31 GB, free: 1.414 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.434e-05/1.264, allocations: 39.31 kB / 1.31 GB, free: 1.41 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/1.265, allocations: 0.9015 MB / 1.311 GB, free: 1.402 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.005926/1.271, allocations: 5.743 MB / 1.316 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008906/1.272, allocations: 0.5404 MB / 1.317 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004872/1.273, allocations: 327 kB / 1.317 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006402/1.273, allocations: 314.2 kB / 1.317 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/1.273, allocations: 41.75 kB / 1.318 GB, free: 13.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=49): time 2.805e-06/1.273, allocations: 1 kB / 1.318 GB, free: 13.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=49): time 0.001657/1.275, allocations: 0.7962 MB / 1.318 GB, free: 13.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/1.275, allocations: 56.94 kB / 1.318 GB, free: 13.12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009487/1.276, allocations: 0.7592 MB / 1.319 GB, free: 12.98 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.176e-05/1.276, allocations: 39.98 kB / 1.319 GB, free: 12.95 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003769/1.276, allocations: 0.502 MB / 1.32 GB, free: 12.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/1.277, allocations: 180.4 kB / 1.32 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002441/1.277, allocations: 145 kB / 1.32 GB, free: 12.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.277, allocations: 337.7 kB / 1.32 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003662/1.277, allocations: 245.5 kB / 1.32 GB, free: 12.26 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006362/1.278, allocations: 0.5534 MB / 1.321 GB, free: 11.9 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/1.279, allocations: 0.8049 MB / 1.322 GB, free: 11.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-06/1.279, allocations: 2.969 kB / 1.322 GB, free: 11.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001575/1.281, allocations: 0.8484 MB / 1.323 GB, free: 11.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/1.281, allocations: 10.78 kB / 1.323 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/1.281, allocations: 9.375 kB / 1.323 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.918e-05/1.281, allocations: 11.62 kB / 1.323 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006165/1.282, allocations: 156.8 kB / 1.323 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.311e-05/1.282, allocations: 19.08 kB / 1.323 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009036/1.283, allocations: 85.34 kB / 1.323 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.159e-05/1.283, allocations: 35.38 kB / 1.323 GB, free: 11.48 MB / 1.029 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.0006747/1.283, allocations: 328.6 kB / 1.323 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/1.284, allocations: 89.53 kB / 1.323 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/1.285, allocations: 0.6188 MB / 1.324 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/1.285, allocations: 4.812 kB / 1.324 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.285, allocations: 1.875 kB / 1.324 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007262/1.285, allocations: 0.5181 MB / 1.324 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002869/1.288, allocations: 1.678 MB / 1.326 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.288, allocations: 3.719 kB / 1.326 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004923/1.289, allocations: 108.1 kB / 1.326 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/1.289, allocations: 5.094 kB / 1.326 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/1.289, allocations: 17.02 kB / 1.326 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/1.289, allocations: 4.125 kB / 1.326 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/1.289, allocations: 9.375 kB / 1.326 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/1.29, allocations: 1.017 MB / 1.327 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003487/1.291, allocations: 223.6 kB / 1.327 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/1.291, allocations: 18.22 kB / 1.327 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004498/1.291, allocations: 21.52 kB / 1.327 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.414e-05/1.291, allocations: 39.86 kB / 1.328 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/1.291, allocations: 17.5 kB / 1.328 GB, free: 10.39 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006247/1.292, allocations: 0.5126 MB / 1.328 GB, free: 10.3 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.81e-07/1.292, allocations: 1.031 kB / 1.328 GB, free: 10.3 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001035/1.293, allocations: 288.4 kB / 1.328 GB, free: 10.27 MB / 1.029 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.0005341/1.293, allocations: 209.8 kB / 1.329 GB, free: 10.17 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009397/1.294, allocations: 0.6164 MB / 1.329 GB, free: 10.15 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/1.294, allocations: 2.688 kB / 1.329 GB, free: 10.15 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003158/1.295, allocations: 274 kB / 1.329 GB, free: 10.15 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/1.296, allocations: 436.1 kB / 1.33 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/1.299, allocations: 1.928 MB / 1.332 GB, free: 9.246 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006244/1.3, allocations: 1.125 MB / 1.333 GB, free: 8.531 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0007522/1.301, allocations: 270.3 kB / 1.333 GB, free: 8.48 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/1.301, allocations: 75.72 kB / 1.333 GB, free: 8.473 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/1.301, allocations: 0 / 1.333 GB, free: 8.473 MB / 1.029 GB Notification: Performance of Templates: time 0.02595/1.327, allocations: 15.57 MB / 1.348 GB, free: 6.457 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches