Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001402/0.001402, allocations: 92.7 kB / 19.44 MB, free: 320 kB / 13.93 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.001583/0.001583, allocations: 161.3 kB / 22.75 MB, free: 1.652 MB / 18.57 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.514/1.514, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.233/3.233, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 0.8776 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.208e-05/3.405e-05, allocations: 5.391 kB / 0.8776 GB, free: 6.453 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2637/0.2637, allocations: 172.6 MB / 1.046 GB, free: 9.242 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.5563/0.82, allocations: 13.92 MB / 1.06 GB, free: 45.71 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001322/0.8213, allocations: 56.86 kB / 1.06 GB, free: 45.71 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001522/0.8228, allocations: 0.4999 MB / 1.06 GB, free: 45.71 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.00463/0.8275, allocations: 1.993 MB / 1.062 GB, free: 45.7 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00279/0.8302, allocations: 1.186 MB / 1.063 GB, free: 45.68 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003061/0.8333, allocations: 2.647 MB / 1.066 GB, free: 45.68 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.8343, allocations: 0.7968 MB / 1.067 GB, free: 45.62 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004851/0.8392, allocations: 2.262 MB / 1.069 GB, free: 45.48 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00148/0.8407, allocations: 0.8822 MB / 1.07 GB, free: 45.4 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001556/0.8408, allocations: 106.5 kB / 1.07 GB, free: 45.4 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/0.8426, allocations: 0.9297 MB / 1.071 GB, free: 45.3 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004077/0.843, allocations: 0.5364 MB / 1.071 GB, free: 45.25 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005478/0.8435, allocations: 471.3 kB / 1.072 GB, free: 45.2 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002195/0.8457, allocations: 1.972 MB / 1.074 GB, free: 45.02 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8457, allocations: 0.9375 kB / 1.074 GB, free: 45.02 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8457, allocations: 0 / 1.074 GB, free: 45.02 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.572e-05/0.8457, allocations: 0 / 1.074 GB, free: 45.02 MB / 1.01 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.001863/0.8476, allocations: 1.432 MB / 1.075 GB, free: 44.29 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.8476, allocations: 9.344 kB / 1.075 GB, free: 44.29 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/0.849, allocations: 365.3 kB / 1.076 GB, free: 44.2 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.8501, allocations: 0.7834 MB / 1.076 GB, free: 43.93 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.05e-05/0.8502, allocations: 76.23 kB / 1.076 GB, free: 43.93 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.8503, allocations: 102.5 kB / 1.076 GB, free: 43.93 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.8518, allocations: 1.298 MB / 1.078 GB, free: 43.55 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.8518, allocations: 4.188 kB / 1.078 GB, free: 43.55 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.508e-05/0.8519, allocations: 38.06 kB / 1.078 GB, free: 43.55 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.688e-05/0.8519, allocations: 32.38 kB / 1.078 GB, free: 43.55 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.853, allocations: 0.8978 MB / 1.079 GB, free: 43.54 MB / 1.01 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.003871/0.8569, allocations: 4.057 MB / 1.083 GB, free: 41.47 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007186/0.8576, allocations: 0.5172 MB / 1.083 GB, free: 41.44 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003548/0.858, allocations: 299.8 kB / 1.083 GB, free: 41.43 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004877/0.8585, allocations: 83.17 kB / 1.083 GB, free: 41.43 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.8585, allocations: 41.84 kB / 1.084 GB, free: 41.39 MB / 1.01 GB Notification: Performance of pre-optimization done (n=49): time 1.984e-06/0.8585, allocations: 0 / 1.084 GB, free: 41.39 MB / 1.01 GB Notification: Performance of matching and sorting (n=49): time 0.001335/0.8598, allocations: 0.8192 MB / 1.084 GB, free: 41.3 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.8599, allocations: 57.06 kB / 1.084 GB, free: 41.24 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006468/0.8605, allocations: 0.6986 MB / 1.085 GB, free: 41.08 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.8606, allocations: 39.48 kB / 1.085 GB, free: 41.05 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.8608, allocations: 0.5249 MB / 1.086 GB, free: 40.77 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.8609, allocations: 185.8 kB / 1.086 GB, free: 40.66 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.8611, allocations: 157.5 kB / 1.086 GB, free: 40.63 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.8612, allocations: 389.9 kB / 1.086 GB, free: 40.32 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000319/0.8615, allocations: 251.8 kB / 1.087 GB, free: 40.32 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005089/0.862, allocations: 0.898 MB / 1.087 GB, free: 39.55 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008268/0.8629, allocations: 0.8723 MB / 1.088 GB, free: 39.2 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/0.8629, allocations: 3.812 kB / 1.088 GB, free: 39.2 MB / 1.01 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001159/0.864, allocations: 0.9386 MB / 1.089 GB, free: 39.11 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.864, allocations: 9.438 kB / 1.089 GB, free: 39.11 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.8641, allocations: 10.91 kB / 1.089 GB, free: 39.11 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.946e-05/0.8641, allocations: 14.69 kB / 1.089 GB, free: 39.11 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005405/0.8646, allocations: 169.2 kB / 1.089 GB, free: 39.11 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.8647, allocations: 26.3 kB / 1.089 GB, free: 39.11 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000739/0.8654, allocations: 98.72 kB / 1.09 GB, free: 39.06 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.69e-05/0.8655, allocations: 39.5 kB / 1.09 GB, free: 39.06 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (95): * Single equations (assignments): 95 * 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.0004109/0.8659, allocations: 334.7 kB / 1.09 GB, free: 38.95 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.8661, allocations: 102.7 kB / 1.09 GB, free: 38.9 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009881/0.867, allocations: 0.6133 MB / 1.091 GB, free: 38.85 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.8671, allocations: 8.562 kB / 1.091 GB, free: 38.85 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.8671, allocations: 0.9062 kB / 1.091 GB, free: 38.85 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006663/0.8677, allocations: 0.5228 MB / 1.091 GB, free: 38.77 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/0.8698, allocations: 1.458 MB / 1.093 GB, free: 38.45 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.8698, allocations: 3.156 kB / 1.093 GB, free: 38.45 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005236/0.8703, allocations: 111 kB / 1.093 GB, free: 38.45 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.8703, allocations: 5.406 kB / 1.093 GB, free: 38.45 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.913e-05/0.8704, allocations: 13.47 kB / 1.093 GB, free: 38.45 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.8704, allocations: 6.75 kB / 1.093 GB, free: 38.45 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.8704, allocations: 3.594 kB / 1.093 GB, free: 38.45 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.8716, allocations: 1.026 MB / 1.094 GB, free: 38.2 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002841/0.8719, allocations: 151.7 kB / 1.094 GB, free: 38.15 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.872, allocations: 14.94 kB / 1.094 GB, free: 38.15 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004892/0.8725, allocations: 20.58 kB / 1.094 GB, free: 38.15 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.996e-05/0.8726, allocations: 38.34 kB / 1.094 GB, free: 38.15 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.811e-05/0.8726, allocations: 16.94 kB / 1.094 GB, free: 38.15 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005817/0.8732, allocations: 464.1 kB / 1.094 GB, free: 38.05 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.8732, allocations: 1.062 kB / 1.094 GB, free: 38.05 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001147/0.8743, allocations: 326.4 kB / 1.095 GB, free: 38.01 MB / 1.01 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.0004748/0.8748, allocations: 193.5 kB / 1.095 GB, free: 37.91 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0009905/0.8758, allocations: 0.6194 MB / 1.095 GB, free: 37.9 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.8758, allocations: 0 / 1.095 GB, free: 37.9 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003506/0.8762, allocations: 260.2 kB / 1.096 GB, free: 37.9 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.8778, allocations: 381.8 kB / 1.096 GB, free: 37.88 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.8804, allocations: 1.885 MB / 1.098 GB, free: 37.09 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005554/0.8809, allocations: 0.5367 MB / 1.098 GB, free: 36.98 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007409/0.8817, allocations: 259.2 kB / 1.099 GB, free: 36.96 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.8819, allocations: 70.19 kB / 1.099 GB, free: 36.95 MB / 1.01 GB Notification: Performance of SimCode: time 1.242e-06/0.8819, allocations: 1.094 kB / 1.099 GB, free: 36.95 MB / 1.01 GB Notification: Performance of Templates: time 0.03004/0.9119, allocations: 14.55 MB / 1.113 GB, free: 35.5 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.535057683940977]