Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 78.64 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 164.6 kB / 23.01 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.547/1.547, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.672/2.672, allocations: 359.1 MB / 0.6044 GB, free: 14.93 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 63.91 kB / 0.9515 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3374, allocations: 169.9 MB / 1.117 GB, free: 2.598 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.8503/1.188, allocations: 172.7 MB / 1.286 GB, free: 11.84 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02163/1.209, allocations: 13.16 MB / 1.299 GB, free: 2.992 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001954/1.211, allocations: 50.81 kB / 1.299 GB, free: 2.965 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001946/1.213, allocations: 0.4908 MB / 1.299 GB, free: 2.68 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.006621/1.22, allocations: 1.949 MB / 1.301 GB, free: 1.652 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003029/1.223, allocations: 0.8846 MB / 1.302 GB, free: 1.203 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004333/1.227, allocations: 2.606 MB / 1.305 GB, free: 24 kB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001463/1.229, allocations: 0.7999 MB / 1.306 GB, free: 15.64 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005065/1.234, allocations: 1.667 MB / 1.307 GB, free: 14.93 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002205/1.236, allocations: 0.9595 MB / 1.308 GB, free: 14.57 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002383/1.236, allocations: 106.5 kB / 1.308 GB, free: 14.57 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002577/1.239, allocations: 0.9288 MB / 1.309 GB, free: 14.25 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0007487/1.24, allocations: 0.5126 MB / 1.31 GB, free: 13.93 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008749/1.24, allocations: 0.5299 MB / 1.31 GB, free: 13.62 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003247/1.244, allocations: 1.898 MB / 1.312 GB, free: 12.41 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.244, allocations: 0 / 1.312 GB, free: 12.41 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.164e-06/1.244, allocations: 0.9688 kB / 1.312 GB, free: 12.41 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.708e-05/1.244, allocations: 0 / 1.312 GB, free: 12.41 MB / 1.154 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.002658/1.246, allocations: 1.402 MB / 1.313 GB, free: 11.37 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/1.246, allocations: 8.906 kB / 1.313 GB, free: 11.37 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/1.248, allocations: 260.4 kB / 1.314 GB, free: 11.25 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001549/1.249, allocations: 0.732 MB / 1.314 GB, free: 10.72 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.43e-05/1.249, allocations: 69.72 kB / 1.314 GB, free: 10.69 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/1.25, allocations: 105.9 kB / 1.315 GB, free: 10.65 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002046/1.252, allocations: 1.297 MB / 1.316 GB, free: 9.723 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.125e-05/1.252, allocations: 5.312 kB / 1.316 GB, free: 9.719 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.26e-05/1.252, allocations: 37.62 kB / 1.316 GB, free: 9.691 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.782e-05/1.252, allocations: 37.56 kB / 1.316 GB, free: 9.688 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/1.253, allocations: 0.8969 MB / 1.317 GB, free: 9.246 MB / 1.154 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.005423/1.259, allocations: 3.995 MB / 1.321 GB, free: 6.043 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008719/1.26, allocations: 0.5109 MB / 1.321 GB, free: 5.777 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004247/1.26, allocations: 297.6 kB / 1.321 GB, free: 5.629 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004858/1.261, allocations: 81.64 kB / 1.321 GB, free: 5.598 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/1.261, allocations: 42.02 kB / 1.322 GB, free: 5.551 MB / 1.154 GB Notification: Performance of pre-optimization done (n=49): time 2.905e-06/1.261, allocations: 4 kB / 1.322 GB, free: 5.547 MB / 1.154 GB Notification: Performance of matching and sorting (n=49): time 0.001552/1.262, allocations: 0.7982 MB / 1.322 GB, free: 5.152 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/1.262, allocations: 57.28 kB / 1.322 GB, free: 5.09 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007854/1.263, allocations: 0.6565 MB / 1.323 GB, free: 4.699 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.743e-05/1.263, allocations: 38.92 kB / 1.323 GB, free: 4.66 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004315/1.263, allocations: 0.5223 MB / 1.324 GB, free: 4.191 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000184/1.264, allocations: 185.3 kB / 1.324 GB, free: 4.031 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/1.264, allocations: 144.5 kB / 1.324 GB, free: 3.949 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002106/1.264, allocations: 391.8 kB / 1.324 GB, free: 3.574 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003806/1.264, allocations: 248.3 kB / 1.324 GB, free: 3.453 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008396/1.265, allocations: 0.8253 MB / 1.325 GB, free: 2.602 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/1.266, allocations: 0.8073 MB / 1.326 GB, free: 1.988 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.266, allocations: 2.75 kB / 1.326 GB, free: 1.988 MB / 1.154 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00145/1.268, allocations: 0.8396 MB / 1.327 GB, free: 1.188 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/1.268, allocations: 8 kB / 1.327 GB, free: 1.18 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/1.268, allocations: 8.047 kB / 1.327 GB, free: 1.172 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.921e-05/1.268, allocations: 15.98 kB / 1.327 GB, free: 1.156 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006137/1.269, allocations: 156.5 kB / 1.327 GB, free: 1.004 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/1.269, allocations: 23.92 kB / 1.327 GB, free: 0.9805 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007835/1.269, allocations: 75.5 kB / 1.327 GB, free: 0.9062 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.71e-05/1.269, allocations: 36 kB / 1.327 GB, free: 0.8711 MB / 1.154 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.0005393/1.27, allocations: 333.4 kB / 1.328 GB, free: 0.5352 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/1.27, allocations: 83.48 kB / 1.328 GB, free: 464 kB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/1.271, allocations: 0.6071 MB / 1.328 GB, free: 15.83 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/1.271, allocations: 8 kB / 1.328 GB, free: 15.82 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.271, allocations: 0 / 1.328 GB, free: 15.82 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008281/1.272, allocations: 0.5187 MB / 1.329 GB, free: 15.3 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002574/1.275, allocations: 1.452 MB / 1.33 GB, free: 13.79 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.275, allocations: 4 kB / 1.33 GB, free: 13.79 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000551/1.275, allocations: 108 kB / 1.33 GB, free: 13.68 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/1.275, allocations: 8 kB / 1.33 GB, free: 13.68 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.804e-05/1.275, allocations: 23.92 kB / 1.33 GB, free: 13.65 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/1.275, allocations: 4 kB / 1.33 GB, free: 13.65 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.275, allocations: 0 / 1.33 GB, free: 13.65 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/1.277, allocations: 1.014 MB / 1.331 GB, free: 12.6 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003402/1.277, allocations: 143.3 kB / 1.331 GB, free: 12.46 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-05/1.277, allocations: 15.94 kB / 1.331 GB, free: 12.44 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004425/1.278, allocations: 15.98 kB / 1.331 GB, free: 12.43 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.472e-05/1.278, allocations: 35.94 kB / 1.331 GB, free: 12.39 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/1.278, allocations: 20 kB / 1.331 GB, free: 12.37 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0005838/1.278, allocations: 447 kB / 1.332 GB, free: 11.94 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/1.278, allocations: 0 / 1.332 GB, free: 11.94 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001044/1.279, allocations: 307.3 kB / 1.332 GB, free: 11.64 MB / 1.17 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.0004972/1.28, allocations: 187.6 kB / 1.332 GB, free: 11.45 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001032/1.281, allocations: 0.5973 MB / 1.333 GB, free: 10.85 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.281, allocations: 0 / 1.333 GB, free: 10.85 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.000391/1.281, allocations: 259.8 kB / 1.333 GB, free: 10.6 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/1.283, allocations: 392 kB / 1.334 GB, free: 10.25 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/1.286, allocations: 1.934 MB / 1.335 GB, free: 8.262 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006444/1.287, allocations: 0.5313 MB / 1.336 GB, free: 7.699 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008109/1.288, allocations: 254.3 kB / 1.336 GB, free: 7.445 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/1.288, allocations: 64.48 kB / 1.336 GB, free: 7.383 MB / 1.17 GB Notification: Performance of SimCode: time 7.01e-07/1.288, allocations: 0 / 1.336 GB, free: 7.383 MB / 1.17 GB Notification: Performance of Templates: time 0.02792/1.316, allocations: 14.46 MB / 1.35 GB, free: 9.312 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.616858044988476]