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.001652/0.001652, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001663/0.001663, allocations: 213.4 kB / 22.24 MB, free: 4.852 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.566/1.566, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.399/3.399, allocations: 0.4892 GB / 0.7943 GB, free: 35.63 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002112/0.002112, allocations: 67.27 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4189, allocations: 176.1 MB / 1.326 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2271/0.646, allocations: 172.7 MB / 1.494 GB, free: 4.473 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02089/0.6669, allocations: 13.17 MB / 1.507 GB, free: 7.266 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001801/0.6687, allocations: 51.56 kB / 1.507 GB, free: 7.215 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002006/0.6707, allocations: 0.489 MB / 1.508 GB, free: 6.723 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00592/0.6766, allocations: 1.941 MB / 1.509 GB, free: 4.773 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003169/0.6798, allocations: 0.8867 MB / 1.51 GB, free: 3.891 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004534/0.6844, allocations: 2.615 MB / 1.513 GB, free: 1.266 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001458/0.6858, allocations: 0.7874 MB / 1.514 GB, free: 464 kB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005823/0.6916, allocations: 1.894 MB / 1.516 GB, free: 14.57 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00197/0.6936, allocations: 0.941 MB / 1.516 GB, free: 13.63 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002111/0.6938, allocations: 104 kB / 1.517 GB, free: 13.53 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002287/0.6961, allocations: 0.9196 MB / 1.517 GB, free: 12.61 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005989/0.6967, allocations: 0.5025 MB / 1.518 GB, free: 12.1 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0007549/0.6975, allocations: 0.5329 MB / 1.518 GB, free: 11.57 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002997/0.7005, allocations: 1.896 MB / 1.52 GB, free: 9.664 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.7005, allocations: 0 / 1.52 GB, free: 9.664 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7005, allocations: 0 / 1.52 GB, free: 9.664 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.017e-05/0.7005, allocations: 4 kB / 1.52 GB, free: 9.66 MB / 1.217 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.003118/0.7036, allocations: 1.415 MB / 1.522 GB, free: 8.211 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.7037, allocations: 8.031 kB / 1.522 GB, free: 8.203 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/0.7052, allocations: 259 kB / 1.522 GB, free: 7.949 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/0.7068, allocations: 0.7369 MB / 1.523 GB, free: 7.184 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.957e-05/0.7068, allocations: 70 kB / 1.523 GB, free: 7.113 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.707, allocations: 92 kB / 1.523 GB, free: 7.023 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/0.709, allocations: 1.294 MB / 1.524 GB, free: 5.629 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/0.709, allocations: 7.938 kB / 1.524 GB, free: 5.621 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.135e-05/0.7091, allocations: 47.92 kB / 1.524 GB, free: 5.574 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.89e-05/0.7092, allocations: 34 kB / 1.524 GB, free: 5.539 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.7107, allocations: 0.9015 MB / 1.525 GB, free: 4.637 MB / 1.217 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.005605/0.7163, allocations: 3.986 MB / 1.529 GB, free: 0.5312 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009144/0.7172, allocations: 0.5124 MB / 1.529 GB, free: 8 kB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004781/0.7177, allocations: 290.6 kB / 1.53 GB, free: 15.71 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004908/0.7182, allocations: 80.34 kB / 1.53 GB, free: 15.64 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/0.7182, allocations: 43 kB / 1.53 GB, free: 15.59 MB / 1.232 GB Notification: Performance of pre-optimization done (n=49): time 2.104e-06/0.7182, allocations: 0 / 1.53 GB, free: 15.59 MB / 1.232 GB Notification: Performance of matching and sorting (n=49): time 0.001621/0.7198, allocations: 0.8031 MB / 1.531 GB, free: 14.78 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.7199, allocations: 59.84 kB / 1.531 GB, free: 14.71 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008588/0.7208, allocations: 0.6527 MB / 1.531 GB, free: 14.05 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.61e-05/0.7208, allocations: 37.7 kB / 1.531 GB, free: 14.01 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004337/0.7212, allocations: 0.5193 MB / 1.532 GB, free: 13.48 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.7214, allocations: 182.6 kB / 1.532 GB, free: 13.3 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.7216, allocations: 146.6 kB / 1.532 GB, free: 13.16 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002143/0.7218, allocations: 390.7 kB / 1.533 GB, free: 12.77 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004051/0.7223, allocations: 245.8 kB / 1.533 GB, free: 12.52 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008853/0.7231, allocations: 0.8346 MB / 1.534 GB, free: 11.49 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.7243, allocations: 0.7995 MB / 1.534 GB, free: 10.58 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.7243, allocations: 0 / 1.534 GB, free: 10.58 MB / 1.232 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001397/0.7257, allocations: 0.8432 MB / 1.535 GB, free: 9.727 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.7257, allocations: 10.19 kB / 1.535 GB, free: 9.719 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.7257, allocations: 8 kB / 1.535 GB, free: 9.711 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.16e-05/0.7258, allocations: 15.98 kB / 1.535 GB, free: 9.695 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005813/0.7263, allocations: 155.8 kB / 1.535 GB, free: 9.543 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.101e-05/0.7264, allocations: 15.94 kB / 1.535 GB, free: 9.527 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006878/0.727, allocations: 83.66 kB / 1.535 GB, free: 9.445 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.411e-05/0.7271, allocations: 39.98 kB / 1.536 GB, free: 9.406 MB / 1.232 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.0004569/0.7276, allocations: 329.4 kB / 1.536 GB, free: 9.074 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.7277, allocations: 87.47 kB / 1.536 GB, free: 8.988 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.7288, allocations: 0.6016 MB / 1.537 GB, free: 8.379 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.769e-06/0.7288, allocations: 11.92 kB / 1.537 GB, free: 8.367 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.7288, allocations: 0 / 1.537 GB, free: 8.367 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007868/0.7296, allocations: 0.5173 MB / 1.537 GB, free: 7.836 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002529/0.7321, allocations: 1.452 MB / 1.538 GB, free: 6.324 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.7321, allocations: 7.984 kB / 1.538 GB, free: 6.316 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005298/0.7326, allocations: 107.8 kB / 1.539 GB, free: 6.211 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.7327, allocations: 4 kB / 1.539 GB, free: 6.207 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.868e-05/0.7327, allocations: 23.92 kB / 1.539 GB, free: 6.184 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.7327, allocations: 4 kB / 1.539 GB, free: 6.18 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.7327, allocations: 224 / 1.539 GB, free: 6.18 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.7342, allocations: 1.012 MB / 1.54 GB, free: 5.129 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003714/0.7346, allocations: 139.4 kB / 1.54 GB, free: 4.992 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.7347, allocations: 19.94 kB / 1.54 GB, free: 4.973 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004385/0.7351, allocations: 15.92 kB / 1.54 GB, free: 4.957 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.867e-05/0.7352, allocations: 39.88 kB / 1.54 GB, free: 4.918 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/0.7352, allocations: 16 kB / 1.54 GB, free: 4.902 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006198/0.7358, allocations: 451 kB / 1.54 GB, free: 4.469 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.7358, allocations: 0 / 1.54 GB, free: 4.469 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009537/0.7368, allocations: 311.3 kB / 1.541 GB, free: 4.164 MB / 1.232 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.000528/0.7373, allocations: 184.5 kB / 1.541 GB, free: 3.977 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001054/0.7384, allocations: 0.5923 MB / 1.541 GB, free: 3.387 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.7384, allocations: 0 / 1.541 GB, free: 3.387 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0004174/0.7388, allocations: 260.5 kB / 1.542 GB, free: 3.133 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/0.7405, allocations: 387 kB / 1.542 GB, free: 2.762 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003335/0.7439, allocations: 1.938 MB / 1.544 GB, free: 0.7695 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006556/0.7445, allocations: 0.5274 MB / 1.544 GB, free: 216 kB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0007764/0.7453, allocations: 250.5 kB / 1.545 GB, free: 15.96 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.7455, allocations: 67.42 kB / 1.545 GB, free: 15.89 MB / 1.248 GB Notification: Performance of SimCode: time 6.01e-07/0.7455, allocations: 3.938 kB / 1.545 GB, free: 15.89 MB / 1.248 GB Notification: Performance of Templates: time 0.02931/0.7748, allocations: 16 MB / 1.56 GB, free: 280 kB / 1.248 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.424071563407779]