Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001661/0.001662, allocations: 110 kB / 16.41 MB, free: 6.461 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.001778/0.001778, allocations: 189.2 kB / 17.34 MB, free: 5.715 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.554/1.554, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.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.681/2.681, allocations: 437.1 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 72.06 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.003, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.241/1.244, allocations: 195.1 MB / 1.358 GB, free: 15.95 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0198/1.264, allocations: 14.32 MB / 1.372 GB, free: 1.582 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/1.265, allocations: 39.75 kB / 1.372 GB, free: 1.543 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001702/1.267, allocations: 0.5124 MB / 1.372 GB, free: 1.027 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005313/1.272, allocations: 1.968 MB / 1.374 GB, free: 15.05 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002733/1.275, allocations: 0.8676 MB / 1.375 GB, free: 14.19 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003873/1.279, allocations: 2.573 MB / 1.378 GB, free: 11.61 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001659/1.281, allocations: 1.119 MB / 1.379 GB, free: 10.46 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004787/1.285, allocations: 1.641 MB / 1.38 GB, free: 8.836 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002041/1.287, allocations: 0.9187 MB / 1.381 GB, free: 7.918 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002222/1.288, allocations: 108 kB / 1.381 GB, free: 7.812 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002504/1.29, allocations: 1.107 MB / 1.382 GB, free: 6.703 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005314/1.291, allocations: 0.5026 MB / 1.383 GB, free: 6.199 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0008486/1.292, allocations: 0.6338 MB / 1.384 GB, free: 5.562 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003095/1.295, allocations: 1.908 MB / 1.385 GB, free: 3.648 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/1.295, allocations: 0 / 1.385 GB, free: 3.648 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.944e-06/1.295, allocations: 0 / 1.385 GB, free: 3.648 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.125e-05/1.295, allocations: 0 / 1.385 GB, free: 3.648 MB / 1.107 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.002412/1.297, allocations: 1.498 MB / 1.387 GB, free: 2.098 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/1.297, allocations: 8.031 kB / 1.387 GB, free: 2.09 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/1.299, allocations: 262.9 kB / 1.387 GB, free: 1.832 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/1.3, allocations: 0.8044 MB / 1.388 GB, free: 0.9844 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.968e-05/1.3, allocations: 74 kB / 1.388 GB, free: 0.9141 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/1.3, allocations: 92 kB / 1.388 GB, free: 0.8242 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001868/1.302, allocations: 1.169 MB / 1.389 GB, free: 15.58 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/1.302, allocations: 0 / 1.389 GB, free: 15.58 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/1.302, allocations: 47.84 kB / 1.389 GB, free: 15.54 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.511e-05/1.302, allocations: 30 kB / 1.389 GB, free: 15.51 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001523/1.304, allocations: 0.9054 MB / 1.39 GB, free: 14.6 MB / 1.123 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.006546/1.311, allocations: 5.755 MB / 1.396 GB, free: 8.391 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008938/1.311, allocations: 0.5338 MB / 1.396 GB, free: 7.852 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004746/1.312, allocations: 322.6 kB / 1.397 GB, free: 7.535 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006353/1.313, allocations: 307.7 kB / 1.397 GB, free: 7.18 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/1.313, allocations: 42.94 kB / 1.397 GB, free: 7.129 MB / 1.123 GB Notification: Performance of pre-optimization done (n=49): time 2.114e-06/1.313, allocations: 0 / 1.397 GB, free: 7.129 MB / 1.123 GB Notification: Performance of matching and sorting (n=49): time 0.001597/1.314, allocations: 0.7992 MB / 1.398 GB, free: 6.324 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.378e-05/1.314, allocations: 59.84 kB / 1.398 GB, free: 6.254 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009961/1.315, allocations: 0.751 MB / 1.399 GB, free: 5.492 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.297e-05/1.315, allocations: 37.7 kB / 1.399 GB, free: 5.449 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004399/1.316, allocations: 0.5234 MB / 1.399 GB, free: 4.918 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/1.316, allocations: 186.4 kB / 1.399 GB, free: 4.734 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/1.316, allocations: 146.6 kB / 1.399 GB, free: 4.586 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001601/1.316, allocations: 337.9 kB / 1.4 GB, free: 4.25 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/1.317, allocations: 245.8 kB / 1.4 GB, free: 4.012 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007045/1.318, allocations: 0.5585 MB / 1.401 GB, free: 3.32 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/1.319, allocations: 0.7957 MB / 1.401 GB, free: 2.414 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/1.319, allocations: 4 kB / 1.401 GB, free: 2.41 MB / 1.123 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001414/1.32, allocations: 0.8424 MB / 1.402 GB, free: 1.559 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/1.32, allocations: 13 kB / 1.402 GB, free: 1.547 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/1.32, allocations: 8 kB / 1.402 GB, free: 1.539 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/1.32, allocations: 16 kB / 1.402 GB, free: 1.523 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005928/1.321, allocations: 159.7 kB / 1.402 GB, free: 1.367 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.13e-05/1.321, allocations: 15.94 kB / 1.402 GB, free: 1.352 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007261/1.322, allocations: 91.34 kB / 1.402 GB, free: 1.262 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.006e-05/1.322, allocations: 43.92 kB / 1.402 GB, free: 1.219 MB / 1.123 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.0004901/1.322, allocations: 325.4 kB / 1.403 GB, free: 0.8906 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/1.322, allocations: 87.44 kB / 1.403 GB, free: 0.8047 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/1.323, allocations: 0.6296 MB / 1.403 GB, free: 164 kB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/1.323, allocations: 4 kB / 1.403 GB, free: 160 kB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/1.323, allocations: 0 / 1.403 GB, free: 160 kB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008378/1.324, allocations: 0.5172 MB / 1.404 GB, free: 15.63 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002586/1.327, allocations: 1.671 MB / 1.406 GB, free: 13.88 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/1.327, allocations: 7.875 kB / 1.406 GB, free: 13.87 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005463/1.327, allocations: 107.9 kB / 1.406 GB, free: 13.77 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/1.327, allocations: 4 kB / 1.406 GB, free: 13.76 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.654e-05/1.328, allocations: 15.98 kB / 1.406 GB, free: 13.75 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/1.328, allocations: 4.219 kB / 1.406 GB, free: 13.74 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/1.328, allocations: 11.94 kB / 1.406 GB, free: 13.73 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/1.329, allocations: 1.019 MB / 1.407 GB, free: 12.67 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003672/1.329, allocations: 232.3 kB / 1.407 GB, free: 12.43 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/1.33, allocations: 12 kB / 1.407 GB, free: 12.41 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000462/1.33, allocations: 19.98 kB / 1.407 GB, free: 12.39 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.521e-05/1.33, allocations: 31.91 kB / 1.407 GB, free: 12.36 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.326e-05/1.33, allocations: 19.98 kB / 1.407 GB, free: 12.34 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0007008/1.331, allocations: 0.5146 MB / 1.408 GB, free: 11.84 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/1.331, allocations: 0 / 1.408 GB, free: 11.84 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009319/1.332, allocations: 299.5 kB / 1.408 GB, free: 11.54 MB / 1.139 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.0005623/1.332, allocations: 222.8 kB / 1.408 GB, free: 11.33 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001096/1.334, allocations: 0.6116 MB / 1.409 GB, free: 10.72 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.334, allocations: 0 / 1.409 GB, free: 10.72 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004139/1.334, allocations: 271.5 kB / 1.409 GB, free: 10.46 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/1.336, allocations: 438.6 kB / 1.409 GB, free: 10.03 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00361/1.34, allocations: 1.952 MB / 1.411 GB, free: 8.027 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/1.341, allocations: 1.122 MB / 1.412 GB, free: 6.879 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008878/1.341, allocations: 275 kB / 1.413 GB, free: 6.605 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/1.342, allocations: 71.42 kB / 1.413 GB, free: 6.535 MB / 1.139 GB Notification: Performance of SimCode: time 9.92e-07/1.342, allocations: 0 / 1.413 GB, free: 6.535 MB / 1.139 GB Notification: Performance of Templates: time 0.03057/1.372, allocations: 15.64 MB / 1.428 GB, free: 7.129 MB / 1.154 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches