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.002362/0.002362, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002768/0.002768, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.612/1.612, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 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 3.346/3.346, allocations: 377.8 MB / 0.6232 GB, free: 8.508 MB / 0.5886 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.432e-06/1.432e-06, allocations: 0 / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/3.013e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2909/0.291, allocations: 192.3 MB / 0.9986 GB, free: 1.195 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.02419/0.3152, allocations: 14.64 MB / 1.013 GB, free: 2.516 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.3166, allocations: 51.56 kB / 1.013 GB, free: 2.465 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.002069/0.3187, allocations: 0.5005 MB / 1.013 GB, free: 1.961 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.005552/0.3242, allocations: 1.998 MB / 1.015 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.00276/0.327, allocations: 0.9308 MB / 1.016 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.004566/0.3315, allocations: 2.622 MB / 1.019 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002237/0.3338, allocations: 0.8306 MB / 1.02 GB, free: 11.54 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007499/0.3413, allocations: 2.24 MB / 1.022 GB, free: 9.344 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002193/0.3435, allocations: 0.882 MB / 1.023 GB, free: 8.469 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0002448/0.3437, allocations: 112 kB / 1.023 GB, free: 8.359 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002465/0.3462, allocations: 0.9232 MB / 1.024 GB, free: 7.434 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0007502/0.3469, allocations: 0.5415 MB / 1.024 GB, free: 6.891 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0008464/0.3478, allocations: 471 kB / 1.025 GB, free: 6.43 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.003466/0.3512, allocations: 1.959 MB / 1.027 GB, free: 4.465 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3513, allocations: 0 / 1.027 GB, free: 4.465 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3513, allocations: 0 / 1.027 GB, free: 4.465 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 2.173e-05/0.3513, allocations: 0 / 1.027 GB, free: 4.465 MB / 0.9792 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.003083/0.3544, allocations: 1.589 MB / 1.028 GB, free: 2.832 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.3544, allocations: 8.031 kB / 1.028 GB, free: 2.824 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001662/0.3561, allocations: 362.7 kB / 1.029 GB, free: 2.469 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001785/0.3579, allocations: 0.7514 MB / 1.029 GB, free: 1.688 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.053e-05/0.3579, allocations: 70 kB / 1.029 GB, free: 1.621 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/0.3581, allocations: 92 kB / 1.029 GB, free: 1.531 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/0.3602, allocations: 1.157 MB / 1.031 GB, free: 252 kB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.3603, allocations: 3.938 kB / 1.031 GB, free: 248 kB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.972e-05/0.3604, allocations: 43.98 kB / 1.031 GB, free: 204 kB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.704e-05/0.3604, allocations: 37.98 kB / 1.031 GB, free: 168 kB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.3617, allocations: 0.5697 MB / 1.031 GB, free: 15.59 MB / 0.9948 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.007491/0.3692, allocations: 5.187 MB / 1.036 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000788/0.37, allocations: 343.4 kB / 1.037 GB, free: 9.902 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003701/0.3704, allocations: 186.2 kB / 1.037 GB, free: 9.715 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004721/0.3708, allocations: 72.44 kB / 1.037 GB, free: 9.645 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/0.3709, allocations: 41.89 kB / 1.037 GB, free: 9.594 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=49): time 2.585e-06/0.3709, allocations: 0 / 1.037 GB, free: 9.594 MB / 0.9948 GB Notification: Performance of matching and sorting (n=49): time 0.001482/0.3724, allocations: 0.5395 MB / 1.037 GB, free: 9.051 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.3724, allocations: 59.91 kB / 1.037 GB, free: 8.98 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.3736, allocations: 0.8157 MB / 1.038 GB, free: 8.148 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.989e-05/0.3736, allocations: 41.7 kB / 1.038 GB, free: 8.102 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006043/0.3742, allocations: 0.6041 MB / 1.039 GB, free: 7.488 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002417/0.3745, allocations: 202.4 kB / 1.039 GB, free: 7.289 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002814/0.3748, allocations: 168.2 kB / 1.039 GB, free: 7.117 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0004705/0.3752, allocations: 0.6094 MB / 1.04 GB, free: 6.496 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002992/0.3755, allocations: 129.9 kB / 1.04 GB, free: 6.371 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.3766, allocations: 0.8587 MB / 1.041 GB, free: 5.262 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/0.378, allocations: 0.693 MB / 1.041 GB, free: 4.418 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.378, allocations: 7.938 kB / 1.041 GB, free: 4.41 MB / 0.9948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00126/0.3793, allocations: 0.6534 MB / 1.042 GB, free: 3.75 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.3793, allocations: 8.156 kB / 1.042 GB, free: 3.742 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.3793, allocations: 12 kB / 1.042 GB, free: 3.73 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.451e-05/0.3794, allocations: 12 kB / 1.042 GB, free: 3.719 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006013/0.38, allocations: 155.7 kB / 1.042 GB, free: 3.566 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.263e-05/0.38, allocations: 15.94 kB / 1.042 GB, free: 3.551 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007156/0.3807, allocations: 75.5 kB / 1.042 GB, free: 3.477 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.396e-05/0.3808, allocations: 36 kB / 1.042 GB, free: 3.441 MB / 0.9948 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.0004339/0.3812, allocations: 276.2 kB / 1.043 GB, free: 3.16 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.3814, allocations: 99.56 kB / 1.043 GB, free: 3.062 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000976/0.3824, allocations: 441.6 kB / 1.043 GB, free: 2.617 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.3824, allocations: 4 kB / 1.043 GB, free: 2.613 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3824, allocations: 0 / 1.043 GB, free: 2.613 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006378/0.383, allocations: 355.2 kB / 1.044 GB, free: 2.254 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002731/0.3857, allocations: 1.444 MB / 1.045 GB, free: 0.7383 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.3858, allocations: 0 / 1.045 GB, free: 0.7383 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005452/0.3863, allocations: 115.8 kB / 1.045 GB, free: 0.625 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.3863, allocations: 4 kB / 1.045 GB, free: 0.6211 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-05/0.3863, allocations: 12 kB / 1.045 GB, free: 0.6094 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.3864, allocations: 3.984 kB / 1.045 GB, free: 0.6055 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.3864, allocations: 7.938 kB / 1.045 GB, free: 0.5977 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4104/0.7968, allocations: 0.7823 MB / 1.046 GB, free: 278.1 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005291/0.7973, allocations: 138.5 kB / 1.046 GB, free: 278.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.7974, allocations: 21.12 kB / 1.046 GB, free: 278.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004901/0.7979, allocations: 9.625 kB / 1.046 GB, free: 278.1 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.598e-05/0.798, allocations: 41.09 kB / 1.046 GB, free: 278.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.569e-05/0.798, allocations: 13.31 kB / 1.046 GB, free: 278.1 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005097/0.7985, allocations: 498.5 kB / 1.047 GB, free: 277.9 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/0.7985, allocations: 0 / 1.047 GB, free: 277.9 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001038/0.7996, allocations: 308.4 kB / 1.047 GB, free: 277.9 MB / 0.9948 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.0005853/0.8001, allocations: 203.2 kB / 1.047 GB, free: 277.9 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0009915/0.8011, allocations: 455.8 kB / 1.047 GB, free: 277.8 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.8011, allocations: 0 / 1.047 GB, free: 277.8 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002807/0.8014, allocations: 202.4 kB / 1.048 GB, free: 277.8 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/0.8032, allocations: 389.3 kB / 1.048 GB, free: 277.8 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/0.8057, allocations: 1.701 MB / 1.05 GB, free: 277 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.8062, allocations: 0.499 MB / 1.05 GB, free: 276.9 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0006819/0.8069, allocations: 222.3 kB / 1.05 GB, free: 276.9 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.807, allocations: 65.47 kB / 1.05 GB, free: 276.9 MB / 0.9948 GB Notification: Performance of SimCode: time 1.102e-06/0.807, allocations: 0 / 1.05 GB, free: 276.9 MB / 0.9948 GB Notification: Performance of Templates: time 0.02286/0.8299, allocations: 14.55 MB / 1.065 GB, free: 275.5 MB / 0.9948 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] 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: 9.983942043967545]