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.006499/0.006499, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001291/0.001292, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.201/2.201, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 67.88 kB / 0.9509 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9299/0.9312, allocations: 140.4 MB / 1.088 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2487/1.18, allocations: 195.1 MB / 1.278 GB, free: 10.59 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0195/1.2, allocations: 14.3 MB / 1.292 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/1.201, allocations: 35.81 kB / 1.292 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001711/1.203, allocations: 0.5085 MB / 1.293 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005939/1.209, allocations: 1.972 MB / 1.295 GB, free: 9.715 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002968/1.212, allocations: 0.871 MB / 1.296 GB, free: 8.848 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003897/1.216, allocations: 2.585 MB / 1.298 GB, free: 6.258 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001762/1.218, allocations: 1.107 MB / 1.299 GB, free: 5.129 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004632/1.223, allocations: 1.646 MB / 1.301 GB, free: 3.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/1.224, allocations: 0.9405 MB / 1.302 GB, free: 2.559 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001812/1.225, allocations: 104 kB / 1.302 GB, free: 2.457 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002669/1.227, allocations: 1.107 MB / 1.303 GB, free: 1.348 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005807/1.228, allocations: 0.4987 MB / 1.304 GB, free: 0.8477 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0008786/1.229, allocations: 0.6338 MB / 1.304 GB, free: 216 kB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003361/1.232, allocations: 1.911 MB / 1.306 GB, free: 14.29 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/1.232, allocations: 4 kB / 1.306 GB, free: 14.29 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.904e-06/1.232, allocations: 4 kB / 1.306 GB, free: 14.29 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.002e-05/1.232, allocations: 0 / 1.306 GB, free: 14.29 MB / 1.045 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.002511/1.235, allocations: 1.478 MB / 1.307 GB, free: 12.75 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/1.235, allocations: 12.03 kB / 1.307 GB, free: 12.74 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/1.236, allocations: 258.9 kB / 1.308 GB, free: 12.48 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/1.238, allocations: 0.8006 MB / 1.309 GB, free: 11.64 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.659e-05/1.238, allocations: 70 kB / 1.309 GB, free: 11.57 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/1.238, allocations: 99.95 kB / 1.309 GB, free: 11.48 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/1.24, allocations: 1.173 MB / 1.31 GB, free: 10.23 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/1.24, allocations: 0 / 1.31 GB, free: 10.23 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.468e-05/1.24, allocations: 43.94 kB / 1.31 GB, free: 10.19 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.571e-05/1.24, allocations: 37.98 kB / 1.31 GB, free: 10.15 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/1.241, allocations: 0.9053 MB / 1.311 GB, free: 9.246 MB / 1.045 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.006187/1.247, allocations: 5.748 MB / 1.316 GB, free: 3.043 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009335/1.248, allocations: 0.5337 MB / 1.317 GB, free: 2.5 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004581/1.249, allocations: 322.6 kB / 1.317 GB, free: 2.184 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006462/1.249, allocations: 319.7 kB / 1.318 GB, free: 1.816 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/1.249, allocations: 39 kB / 1.318 GB, free: 1.77 MB / 1.045 GB Notification: Performance of pre-optimization done (n=49): time 2.976e-06/1.249, allocations: 0 / 1.318 GB, free: 1.77 MB / 1.045 GB Notification: Performance of matching and sorting (n=49): time 0.001734/1.251, allocations: 0.803 MB / 1.318 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/1.251, allocations: 55.84 kB / 1.318 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009406/1.252, allocations: 0.7549 MB / 1.319 GB, free: 136 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.804e-05/1.252, allocations: 37.7 kB / 1.319 GB, free: 92 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004205/1.253, allocations: 0.5155 MB / 1.32 GB, free: 15.57 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/1.253, allocations: 186.4 kB / 1.32 GB, free: 15.38 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/1.253, allocations: 146.5 kB / 1.32 GB, free: 15.23 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.253, allocations: 337.9 kB / 1.32 GB, free: 14.9 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003677/1.254, allocations: 249.9 kB / 1.321 GB, free: 14.65 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006419/1.254, allocations: 0.5507 MB / 1.321 GB, free: 13.96 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/1.255, allocations: 0.8034 MB / 1.322 GB, free: 13.05 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/1.255, allocations: 4 kB / 1.322 GB, free: 13.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001314/1.257, allocations: 0.851 MB / 1.323 GB, free: 12.19 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/1.257, allocations: 8.156 kB / 1.323 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/1.257, allocations: 15.98 kB / 1.323 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.881e-05/1.257, allocations: 12 kB / 1.323 GB, free: 12.15 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005776/1.257, allocations: 151.8 kB / 1.323 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.68e-05/1.257, allocations: 19.92 kB / 1.323 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008245/1.258, allocations: 87.39 kB / 1.323 GB, free: 11.9 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/1.258, allocations: 35.94 kB / 1.323 GB, free: 11.86 MB / 1.061 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.0005602/1.259, allocations: 333.5 kB / 1.323 GB, free: 11.53 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/1.259, allocations: 91.44 kB / 1.323 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/1.26, allocations: 0.6179 MB / 1.324 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/1.26, allocations: 4 kB / 1.324 GB, free: 10.81 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/1.26, allocations: 0 / 1.324 GB, free: 10.81 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007189/1.261, allocations: 0.525 MB / 1.325 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00261/1.263, allocations: 1.663 MB / 1.326 GB, free: 8.531 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/1.263, allocations: 3.938 kB / 1.326 GB, free: 8.527 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005992/1.264, allocations: 115.9 kB / 1.326 GB, free: 8.414 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/1.264, allocations: 4 kB / 1.326 GB, free: 8.41 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/1.264, allocations: 12.22 kB / 1.326 GB, free: 8.398 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/1.264, allocations: 7.984 kB / 1.326 GB, free: 8.391 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.264, allocations: 4 kB / 1.326 GB, free: 8.387 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/1.266, allocations: 1.035 MB / 1.327 GB, free: 7.312 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003973/1.266, allocations: 228.3 kB / 1.328 GB, free: 7.07 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/1.266, allocations: 19.98 kB / 1.328 GB, free: 7.051 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004602/1.266, allocations: 9.125 kB / 1.328 GB, free: 7.043 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.085e-05/1.267, allocations: 39.89 kB / 1.328 GB, free: 7.004 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.655e-05/1.267, allocations: 20 kB / 1.328 GB, free: 6.984 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007386/1.267, allocations: 0.5146 MB / 1.328 GB, free: 6.473 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.267, allocations: 4 kB / 1.328 GB, free: 6.469 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001046/1.268, allocations: 295.5 kB / 1.328 GB, free: 6.18 MB / 1.061 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.0005447/1.269, allocations: 212.9 kB / 1.329 GB, free: 5.977 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001012/1.27, allocations: 0.6109 MB / 1.329 GB, free: 5.367 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.27, allocations: 4 kB / 1.329 GB, free: 5.363 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003528/1.27, allocations: 273.2 kB / 1.329 GB, free: 5.098 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/1.272, allocations: 439.4 kB / 1.33 GB, free: 4.672 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/1.275, allocations: 1.948 MB / 1.332 GB, free: 2.672 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007003/1.276, allocations: 1.129 MB / 1.333 GB, free: 1.516 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0007899/1.277, allocations: 259.1 kB / 1.333 GB, free: 1.258 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/1.277, allocations: 75.42 kB / 1.333 GB, free: 1.184 MB / 1.061 GB Notification: Performance of SimCode: time 1.052e-06/1.277, allocations: 0 / 1.333 GB, free: 1.184 MB / 1.061 GB Notification: Performance of Templates: time 0.03058/1.308, allocations: 15.56 MB / 1.348 GB, free: 1.867 MB / 1.076 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