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.001076/0.001076, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001169/0.001169, allocations: 173 kB / 23.49 MB, free: 1.059 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 0.9728/0.9728, allocations: 177.1 MB / 203.8 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] 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 2.083/2.083, allocations: 429.5 MB / 0.6736 GB, free: 4.059 MB / 0.6355 GB " [Timeout remaining time 177] 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.[0-9,]+.|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.[0-9,]+.|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 2.014e-06/2.014e-06, allocations: 0 / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.64e-05/3.841e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.6662/0.6662, allocations: 192.4 MB / 1.066 GB, free: 47.59 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0133/0.6795, allocations: 15.52 MB / 1.081 GB, free: 47.51 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.6808, allocations: 52.72 kB / 1.081 GB, free: 47.51 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.682, allocations: 0.5041 MB / 1.082 GB, free: 47.5 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003514/0.6855, allocations: 1.989 MB / 1.084 GB, free: 47.42 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.6878, allocations: 1.184 MB / 1.085 GB, free: 47.39 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002534/0.6903, allocations: 2.654 MB / 1.088 GB, free: 47.2 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.6913, allocations: 0.8001 MB / 1.088 GB, free: 47.12 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004206/0.6955, allocations: 2.262 MB / 1.091 GB, free: 46.89 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001546/0.6971, allocations: 0.8963 MB / 1.091 GB, free: 46.8 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002036/0.6973, allocations: 105.1 kB / 1.091 GB, free: 46.8 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.6991, allocations: 0.9408 MB / 1.092 GB, free: 46.71 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.00044/0.6995, allocations: 0.5395 MB / 1.093 GB, free: 46.65 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0007043/0.7002, allocations: 475.4 kB / 1.093 GB, free: 46.6 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002267/0.7025, allocations: 1.446 MB / 1.095 GB, free: 46.42 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7025, allocations: 3.719 kB / 1.095 GB, free: 46.42 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7025, allocations: 0.9062 kB / 1.095 GB, free: 46.42 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.61e-05/0.7025, allocations: 2.688 kB / 1.095 GB, free: 46.42 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.001703/0.7042, allocations: 1.552 MB / 1.096 GB, free: 45.58 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.7043, allocations: 9.094 kB / 1.096 GB, free: 45.58 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.7053, allocations: 353.6 kB / 1.097 GB, free: 45.49 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004505/0.7098, allocations: 0.7631 MB / 1.097 GB, free: 45.2 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.221e-05/0.7099, allocations: 73.81 kB / 1.097 GB, free: 45.2 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.71, allocations: 97.34 kB / 1.098 GB, free: 45.2 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.7112, allocations: 0.962 MB / 1.099 GB, free: 44.73 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.7112, allocations: 4.25 kB / 1.099 GB, free: 44.73 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.934e-05/0.7113, allocations: 45.62 kB / 1.099 GB, free: 44.73 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.164e-05/0.7113, allocations: 34.03 kB / 1.099 GB, free: 44.73 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006994/0.712, allocations: 377.8 kB / 1.099 GB, free: 44.72 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.003657/0.7157, allocations: 4.725 MB / 1.104 GB, free: 41.64 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005278/0.7162, allocations: 279.2 kB / 1.104 GB, free: 41.61 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.7164, allocations: 141.2 kB / 1.104 GB, free: 41.59 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002818/0.7167, allocations: 73.83 kB / 1.104 GB, free: 41.59 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.7167, allocations: 51.05 kB / 1.104 GB, free: 41.54 MB / 1.01 GB Notification: Performance of pre-optimization done (n=49): time 3.347e-06/0.7167, allocations: 0 / 1.104 GB, free: 41.54 MB / 1.01 GB Notification: Performance of matching and sorting (n=49): time 0.000916/0.7176, allocations: 467.7 kB / 1.105 GB, free: 41.46 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.7177, allocations: 57.19 kB / 1.105 GB, free: 41.39 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006192/0.7183, allocations: 0.6884 MB / 1.105 GB, free: 41.18 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.7183, allocations: 41.14 kB / 1.105 GB, free: 41.15 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002974/0.7186, allocations: 0.5822 MB / 1.106 GB, free: 40.82 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.7187, allocations: 182.3 kB / 1.106 GB, free: 40.71 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.7189, allocations: 171.3 kB / 1.106 GB, free: 40.67 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.719, allocations: 0.5712 MB / 1.107 GB, free: 40.18 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.7192, allocations: 96.72 kB / 1.107 GB, free: 40.17 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003889/0.7196, allocations: 0.8799 MB / 1.108 GB, free: 39.2 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000595/0.7202, allocations: 0.6938 MB / 1.108 GB, free: 38.66 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.7202, allocations: 2.969 kB / 1.108 GB, free: 38.66 MB / 1.01 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0008803/0.7211, allocations: 0.6317 MB / 1.109 GB, free: 38.57 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.7211, allocations: 13.78 kB / 1.109 GB, free: 38.57 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.7211, allocations: 9.594 kB / 1.109 GB, free: 38.57 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/0.7211, allocations: 16.62 kB / 1.109 GB, free: 38.57 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/0.7215, allocations: 171.6 kB / 1.109 GB, free: 38.57 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.086e-05/0.7215, allocations: 22.97 kB / 1.109 GB, free: 38.57 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004622/0.722, allocations: 85.39 kB / 1.109 GB, free: 38.54 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.286e-05/0.7221, allocations: 38.62 kB / 1.109 GB, free: 38.54 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.0002301/0.7223, allocations: 214.8 kB / 1.11 GB, free: 38.36 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.7224, allocations: 103.1 kB / 1.11 GB, free: 38.32 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005292/0.7229, allocations: 381.8 kB / 1.11 GB, free: 38.27 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.7229, allocations: 5.281 kB / 1.11 GB, free: 38.27 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.7229, allocations: 0 / 1.11 GB, free: 38.27 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003407/0.7233, allocations: 290.9 kB / 1.11 GB, free: 38.19 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/0.7249, allocations: 1.227 MB / 1.111 GB, free: 37.79 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.7249, allocations: 1.438 kB / 1.111 GB, free: 37.79 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003171/0.7252, allocations: 111.1 kB / 1.112 GB, free: 37.79 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.7252, allocations: 5.016 kB / 1.112 GB, free: 37.79 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.7252, allocations: 18.7 kB / 1.112 GB, free: 37.78 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.7252, allocations: 4.75 kB / 1.112 GB, free: 37.78 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.7252, allocations: 2.547 kB / 1.112 GB, free: 37.78 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006851/0.7259, allocations: 0.6644 MB / 1.112 GB, free: 37.45 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/0.7261, allocations: 140.6 kB / 1.112 GB, free: 37.4 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.203e-05/0.7262, allocations: 17 kB / 1.112 GB, free: 37.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.7265, allocations: 18.42 kB / 1.112 GB, free: 37.4 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.7265, allocations: 36.19 kB / 1.112 GB, free: 37.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.7265, allocations: 19.31 kB / 1.113 GB, free: 37.4 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003715/0.7269, allocations: 424.2 kB / 1.113 GB, free: 37.26 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7269, allocations: 1 kB / 1.113 GB, free: 37.26 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008164/0.7277, allocations: 325.3 kB / 1.113 GB, free: 37.21 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.0004025/0.7281, allocations: 198.8 kB / 1.113 GB, free: 37.11 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000611/0.7287, allocations: 386.7 kB / 1.114 GB, free: 37.09 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.7287, allocations: 5.344 kB / 1.114 GB, free: 37.09 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.7289, allocations: 156.1 kB / 1.114 GB, free: 37.08 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.7301, allocations: 390.5 kB / 1.114 GB, free: 37.04 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/0.7328, allocations: 1.683 MB / 1.116 GB, free: 36.22 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.733, allocations: 252.7 kB / 1.116 GB, free: 36.14 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007039/0.7337, allocations: 221.9 kB / 1.116 GB, free: 36.12 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.7339, allocations: 70.48 kB / 1.116 GB, free: 36.11 MB / 1.01 GB Notification: Performance of SimCode: time 1.884e-06/0.7339, allocations: 1.406 kB / 1.116 GB, free: 36.11 MB / 1.01 GB Notification: Performance of Templates: time 0.02431/0.7582, allocations: 14.64 MB / 1.131 GB, free: 34.54 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.470135804032907]