Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001575/0.001575, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001897/0.001897, allocations: 160.9 kB / 22.46 MB, free: 5.375 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.608/1.608, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.938/2.938, allocations: 377.8 MB / 0.6221 GB, free: 12.54 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.Sensors.Examples.TraceSubstances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.9814 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.082e-05, allocations: 9.172 kB / 0.9815 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 1.089/1.089, allocations: 172.5 MB / 1.15 GB, free: 45.3 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01649/1.105, allocations: 13.12 MB / 1.163 GB, free: 45.15 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001903/1.107, allocations: 54.28 kB / 1.163 GB, free: 45.15 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001683/1.109, allocations: 0.4894 MB / 1.163 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006115/1.115, allocations: 1.994 MB / 1.165 GB, free: 45.05 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00327/1.118, allocations: 0.9372 MB / 1.166 GB, free: 45.04 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003775/1.122, allocations: 2.629 MB / 1.169 GB, free: 44.72 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/1.123, allocations: 0.7932 MB / 1.169 GB, free: 44.63 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005851/1.129, allocations: 2.199 MB / 1.172 GB, free: 44.42 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001857/1.131, allocations: 0.8725 MB / 1.172 GB, free: 44.33 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001859/1.131, allocations: 105.8 kB / 1.173 GB, free: 44.33 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002308/1.134, allocations: 0.9321 MB / 1.173 GB, free: 44.24 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000523/1.134, allocations: 0.5404 MB / 1.174 GB, free: 44.18 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006574/1.135, allocations: 458.9 kB / 1.174 GB, free: 44.12 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003086/1.138, allocations: 1.946 MB / 1.176 GB, free: 43.95 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/1.138, allocations: 1 kB / 1.176 GB, free: 43.95 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.853e-06/1.138, allocations: 4.906 kB / 1.176 GB, free: 43.95 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.323e-05/1.138, allocations: 0 / 1.176 GB, free: 43.95 MB / 1.076 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.002985/1.141, allocations: 1.401 MB / 1.178 GB, free: 43.22 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/1.141, allocations: 9.531 kB / 1.178 GB, free: 43.22 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/1.143, allocations: 264 kB / 1.178 GB, free: 43.15 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/1.144, allocations: 0.7363 MB / 1.179 GB, free: 42.89 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.417e-05/1.144, allocations: 68.56 kB / 1.179 GB, free: 42.89 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/1.144, allocations: 99.62 kB / 1.179 GB, free: 42.88 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/1.146, allocations: 1.294 MB / 1.18 GB, free: 42.5 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/1.146, allocations: 5.281 kB / 1.18 GB, free: 42.5 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.761e-05/1.146, allocations: 39.81 kB / 1.18 GB, free: 42.5 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.323e-05/1.146, allocations: 34.38 kB / 1.18 GB, free: 42.5 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/1.148, allocations: 0.896 MB / 1.181 GB, free: 42.49 MB / 1.076 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.005593/1.153, allocations: 3.99 MB / 1.185 GB, free: 40.41 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009907/1.154, allocations: 0.5123 MB / 1.185 GB, free: 40.38 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004963/1.155, allocations: 295.3 kB / 1.186 GB, free: 40.37 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005247/1.155, allocations: 80.72 kB / 1.186 GB, free: 40.37 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/1.155, allocations: 39.67 kB / 1.186 GB, free: 40.33 MB / 1.076 GB Notification: Performance of pre-optimization done (n=49): time 2.364e-06/1.155, allocations: 1.031 kB / 1.186 GB, free: 40.33 MB / 1.076 GB Notification: Performance of matching and sorting (n=49): time 0.00174/1.157, allocations: 0.8017 MB / 1.187 GB, free: 40.24 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/1.157, allocations: 59.81 kB / 1.187 GB, free: 40.18 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009641/1.158, allocations: 0.66 MB / 1.187 GB, free: 40.03 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.892e-05/1.158, allocations: 38.66 kB / 1.187 GB, free: 40 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004168/1.159, allocations: 0.5194 MB / 1.188 GB, free: 39.72 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/1.159, allocations: 182.8 kB / 1.188 GB, free: 39.6 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002556/1.159, allocations: 142.4 kB / 1.188 GB, free: 39.57 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001489/1.159, allocations: 384.3 kB / 1.189 GB, free: 39.26 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004614/1.16, allocations: 249.1 kB / 1.189 GB, free: 39.26 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007139/1.16, allocations: 0.831 MB / 1.19 GB, free: 38.57 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/1.161, allocations: 0.8042 MB / 1.19 GB, free: 38.27 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/1.161, allocations: 3.25 kB / 1.19 GB, free: 38.27 MB / 1.076 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001419/1.163, allocations: 0.8428 MB / 1.191 GB, free: 38.19 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/1.163, allocations: 14 kB / 1.191 GB, free: 38.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/1.163, allocations: 8.312 kB / 1.191 GB, free: 38.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.588e-05/1.163, allocations: 15.98 kB / 1.191 GB, free: 38.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006138/1.164, allocations: 157.3 kB / 1.191 GB, free: 38.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.313e-05/1.164, allocations: 17.78 kB / 1.191 GB, free: 38.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008407/1.164, allocations: 77.5 kB / 1.192 GB, free: 38.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-05/1.165, allocations: 42.52 kB / 1.192 GB, free: 38.14 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.000536/1.165, allocations: 326.1 kB / 1.192 GB, free: 38.02 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/1.165, allocations: 82.2 kB / 1.192 GB, free: 37.98 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/1.166, allocations: 0.6198 MB / 1.193 GB, free: 37.92 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/1.166, allocations: 5 kB / 1.193 GB, free: 37.92 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.166, allocations: 1.094 kB / 1.193 GB, free: 37.92 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007907/1.167, allocations: 0.5191 MB / 1.193 GB, free: 37.85 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002741/1.17, allocations: 1.448 MB / 1.194 GB, free: 37.53 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.17, allocations: 2.219 kB / 1.194 GB, free: 37.53 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005434/1.17, allocations: 112.2 kB / 1.195 GB, free: 37.53 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/1.17, allocations: 5.188 kB / 1.195 GB, free: 37.53 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.515e-05/1.171, allocations: 14.34 kB / 1.195 GB, free: 37.53 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/1.171, allocations: 5.203 kB / 1.195 GB, free: 37.53 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.171, allocations: 3.125 kB / 1.195 GB, free: 37.53 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/1.172, allocations: 1.01 MB / 1.196 GB, free: 37.29 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003611/1.172, allocations: 142.8 kB / 1.196 GB, free: 37.23 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/1.172, allocations: 15.39 kB / 1.196 GB, free: 37.23 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004521/1.173, allocations: 16.86 kB / 1.196 GB, free: 37.23 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.99e-05/1.173, allocations: 38.84 kB / 1.196 GB, free: 37.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-05/1.173, allocations: 19.7 kB / 1.196 GB, free: 37.23 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006658/1.174, allocations: 451.3 kB / 1.196 GB, free: 37.14 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.174, allocations: 0.9062 kB / 1.196 GB, free: 37.14 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001206/1.175, allocations: 307.9 kB / 1.197 GB, free: 37.09 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.0005672/1.175, allocations: 199.7 kB / 1.197 GB, free: 36.98 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001119/1.177, allocations: 0.5875 MB / 1.197 GB, free: 36.97 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.177, allocations: 1.938 kB / 1.197 GB, free: 36.97 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003918/1.177, allocations: 259.9 kB / 1.198 GB, free: 36.97 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/1.179, allocations: 383 kB / 1.198 GB, free: 36.94 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003427/1.182, allocations: 1.841 MB / 1.2 GB, free: 36.19 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007448/1.183, allocations: 0.5259 MB / 1.2 GB, free: 36.09 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009385/1.184, allocations: 251.5 kB / 1.2 GB, free: 36.07 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/1.184, allocations: 69.22 kB / 1.201 GB, free: 36.06 MB / 1.076 GB Notification: Performance of SimCode: time 7.31e-07/1.184, allocations: 0 / 1.201 GB, free: 36.06 MB / 1.076 GB Notification: Performance of Templates: time 0.03203/1.216, allocations: 14.36 MB / 1.215 GB, free: 34.52 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.413872260600328]