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.007672/0.007672, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001576/0.001576, allocations: 189.6 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.38/1.38, 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 10.1.1-maint.10.0.x/package.mo): time 2.718/2.718, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.91 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3437, allocations: 151.6 MB / 1.167 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.8867/1.23, allocations: 195.1 MB / 1.357 GB, free: 15.45 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01882/1.249, allocations: 14.33 MB / 1.371 GB, free: 5.207 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001883/1.251, allocations: 35.16 kB / 1.371 GB, free: 5.195 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001646/1.253, allocations: 0.5181 MB / 1.372 GB, free: 4.875 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005182/1.258, allocations: 1.954 MB / 1.374 GB, free: 3.691 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002414/1.261, allocations: 0.8689 MB / 1.374 GB, free: 3.027 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003232/1.264, allocations: 2.585 MB / 1.377 GB, free: 1.551 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/1.265, allocations: 1.109 MB / 1.378 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004658/1.27, allocations: 1.649 MB / 1.38 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/1.271, allocations: 0.922 MB / 1.381 GB, free: 15.38 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001568/1.271, allocations: 105.9 kB / 1.381 GB, free: 15.38 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002318/1.274, allocations: 1.108 MB / 1.382 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004928/1.274, allocations: 0.494 MB / 1.382 GB, free: 14.47 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006337/1.275, allocations: 0.6382 MB / 1.383 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002241/1.277, allocations: 1.916 MB / 1.385 GB, free: 12.82 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/1.277, allocations: 0 / 1.385 GB, free: 12.82 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.463e-06/1.277, allocations: 0 / 1.385 GB, free: 12.82 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.664e-05/1.277, allocations: 1.406 kB / 1.385 GB, free: 12.82 MB / 1.061 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.002075/1.279, allocations: 1.484 MB / 1.386 GB, free: 11.68 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/1.279, allocations: 10.28 kB / 1.386 GB, free: 11.68 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/1.28, allocations: 258.7 kB / 1.386 GB, free: 11.56 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/1.282, allocations: 0.8004 MB / 1.387 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.565e-05/1.282, allocations: 75.98 kB / 1.387 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/1.282, allocations: 94.84 kB / 1.387 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/1.284, allocations: 1.161 MB / 1.389 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/1.284, allocations: 10.83 kB / 1.389 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.149e-05/1.284, allocations: 38.12 kB / 1.389 GB, free: 10.08 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.592e-05/1.284, allocations: 39.94 kB / 1.389 GB, free: 10.07 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/1.285, allocations: 0.9023 MB / 1.389 GB, free: 9.629 MB / 1.061 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.005259/1.29, allocations: 5.753 MB / 1.395 GB, free: 4.395 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007747/1.291, allocations: 0.5345 MB / 1.396 GB, free: 4.121 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003921/1.291, allocations: 323.2 kB / 1.396 GB, free: 3.961 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005511/1.292, allocations: 318.4 kB / 1.396 GB, free: 3.645 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/1.292, allocations: 37.44 kB / 1.396 GB, free: 3.602 MB / 1.061 GB Notification: Performance of pre-optimization done (n=49): time 1.983e-06/1.292, allocations: 0 / 1.396 GB, free: 3.602 MB / 1.061 GB Notification: Performance of matching and sorting (n=49): time 0.00138/1.293, allocations: 0.8027 MB / 1.397 GB, free: 3.199 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/1.293, allocations: 60.91 kB / 1.397 GB, free: 3.133 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008162/1.294, allocations: 0.7522 MB / 1.398 GB, free: 2.703 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/1.294, allocations: 39.39 kB / 1.398 GB, free: 2.664 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003464/1.295, allocations: 0.5181 MB / 1.398 GB, free: 2.199 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/1.295, allocations: 185.3 kB / 1.399 GB, free: 2.039 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/1.295, allocations: 141.4 kB / 1.399 GB, free: 1.957 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001206/1.295, allocations: 337.4 kB / 1.399 GB, free: 1.629 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003372/1.295, allocations: 254.2 kB / 1.399 GB, free: 1.508 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005702/1.296, allocations: 0.5593 MB / 1.4 GB, free: 0.9805 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009218/1.297, allocations: 0.7986 MB / 1.401 GB, free: 380 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/1.297, allocations: 0 / 1.401 GB, free: 380 kB / 1.061 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00122/1.298, allocations: 0.8516 MB / 1.401 GB, free: 15.93 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/1.298, allocations: 9.406 kB / 1.401 GB, free: 15.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/1.298, allocations: 7.469 kB / 1.401 GB, free: 15.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.923e-05/1.298, allocations: 12.28 kB / 1.401 GB, free: 15.93 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005273/1.299, allocations: 156.2 kB / 1.402 GB, free: 15.89 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-05/1.299, allocations: 16.59 kB / 1.402 GB, free: 15.89 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006801/1.3, allocations: 90.88 kB / 1.402 GB, free: 15.83 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.609e-05/1.3, allocations: 36.02 kB / 1.402 GB, free: 15.82 MB / 1.076 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.0004131/1.3, allocations: 338.4 kB / 1.402 GB, free: 15.57 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/1.3, allocations: 89.81 kB / 1.402 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009268/1.301, allocations: 0.6196 MB / 1.403 GB, free: 15.17 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/1.301, allocations: 2.875 kB / 1.403 GB, free: 15.17 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.301, allocations: 10.28 kB / 1.403 GB, free: 15.16 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006637/1.302, allocations: 0.5127 MB / 1.403 GB, free: 14.88 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002335/1.304, allocations: 1.666 MB / 1.405 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/1.304, allocations: 0 / 1.405 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004836/1.305, allocations: 119.5 kB / 1.405 GB, free: 13.71 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/1.305, allocations: 2.5 kB / 1.405 GB, free: 13.71 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.94e-05/1.305, allocations: 15.8 kB / 1.405 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/1.305, allocations: 2.719 kB / 1.405 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.305, allocations: 5.812 kB / 1.405 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/1.306, allocations: 1.024 MB / 1.406 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000346/1.306, allocations: 235.3 kB / 1.406 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.91e-05/1.306, allocations: 12.72 kB / 1.406 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004289/1.307, allocations: 14.7 kB / 1.406 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/1.307, allocations: 37.84 kB / 1.406 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-05/1.307, allocations: 20.67 kB / 1.406 GB, free: 12.83 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005615/1.308, allocations: 0.5136 MB / 1.407 GB, free: 12.54 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.51e-07/1.308, allocations: 0 / 1.407 GB, free: 12.54 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007788/1.308, allocations: 296 kB / 1.407 GB, free: 12.48 MB / 1.076 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.000441/1.309, allocations: 214 kB / 1.407 GB, free: 12.34 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008588/1.31, allocations: 0.6139 MB / 1.408 GB, free: 12.06 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.31, allocations: 0 / 1.408 GB, free: 12.06 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000329/1.31, allocations: 275.8 kB / 1.408 GB, free: 11.93 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/1.312, allocations: 440.9 kB / 1.409 GB, free: 11.67 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/1.314, allocations: 1.944 MB / 1.411 GB, free: 9.672 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000691/1.315, allocations: 1.129 MB / 1.412 GB, free: 8.516 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0006922/1.316, allocations: 267 kB / 1.412 GB, free: 8.25 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/1.316, allocations: 75.42 kB / 1.412 GB, free: 8.176 MB / 1.076 GB Notification: Performance of SimCode: time 4.41e-07/1.316, allocations: 4 kB / 1.412 GB, free: 8.172 MB / 1.076 GB Notification: Performance of Templates: time 0.02454/1.341, allocations: 15.56 MB / 1.427 GB, free: 8.863 MB / 1.092 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches