Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 191.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.682/2.682, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.Sensors.Examples.TraceSubstances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 63.89 kB / 1.061 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9917/0.9936, allocations: 160.8 MB / 1.218 GB, free: 3.73 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2457/1.239, allocations: 196.2 MB / 1.41 GB, free: 2.328 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02496/1.264, allocations: 14.49 MB / 1.424 GB, free: 3.789 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002056/1.266, allocations: 51.56 kB / 1.424 GB, free: 3.738 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002433/1.269, allocations: 0.5124 MB / 1.425 GB, free: 3.223 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00718/1.276, allocations: 2.007 MB / 1.427 GB, free: 1.211 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00336/1.279, allocations: 0.9054 MB / 1.428 GB, free: 316 kB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004722/1.284, allocations: 2.636 MB / 1.43 GB, free: 13.66 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001844/1.286, allocations: 0.8029 MB / 1.431 GB, free: 12.84 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005487/1.291, allocations: 1.682 MB / 1.433 GB, free: 11.17 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002401/1.294, allocations: 0.9862 MB / 1.434 GB, free: 10.18 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0004644/1.294, allocations: 111.9 kB / 1.434 GB, free: 10.07 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003482/1.298, allocations: 1.185 MB / 1.435 GB, free: 8.887 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0009678/1.299, allocations: 0.5103 MB / 1.435 GB, free: 8.375 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001803/1.301, allocations: 0.6299 MB / 1.436 GB, free: 7.742 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004678/1.305, allocations: 1.915 MB / 1.438 GB, free: 5.82 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/1.305, allocations: 4 kB / 1.438 GB, free: 5.816 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.533e-06/1.305, allocations: 0 / 1.438 GB, free: 5.816 MB / 1.139 GB Notification: Performance of Transformations before backend: time 8.537e-05/1.305, allocations: 0 / 1.438 GB, free: 5.816 MB / 1.139 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.003756/1.309, allocations: 1.486 MB / 1.439 GB, free: 4.277 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/1.309, allocations: 8.031 kB / 1.439 GB, free: 4.27 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001871/1.311, allocations: 262.9 kB / 1.44 GB, free: 4.012 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/1.313, allocations: 0.8006 MB / 1.44 GB, free: 3.168 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.638e-05/1.313, allocations: 66 kB / 1.44 GB, free: 3.105 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002588/1.314, allocations: 99.94 kB / 1.44 GB, free: 3.008 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002426/1.316, allocations: 1.167 MB / 1.442 GB, free: 1.77 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/1.316, allocations: 7.938 kB / 1.442 GB, free: 1.762 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.975e-05/1.316, allocations: 43.94 kB / 1.442 GB, free: 1.719 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.263e-05/1.316, allocations: 37.98 kB / 1.442 GB, free: 1.684 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001706/1.318, allocations: 0.8976 MB / 1.443 GB, free: 0.7812 MB / 1.139 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.008212/1.326, allocations: 5.752 MB / 1.448 GB, free: 10.57 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009433/1.327, allocations: 0.5102 MB / 1.449 GB, free: 10.06 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004732/1.328, allocations: 303.1 kB / 1.449 GB, free: 9.762 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006903/1.328, allocations: 315.7 kB / 1.449 GB, free: 9.398 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/1.328, allocations: 42.94 kB / 1.449 GB, free: 9.348 MB / 1.154 GB Notification: Performance of pre-optimization done (n=49): time 2.535e-06/1.328, allocations: 0 / 1.449 GB, free: 9.348 MB / 1.154 GB Notification: Performance of matching and sorting (n=49): time 0.001778/1.33, allocations: 0.8031 MB / 1.45 GB, free: 8.539 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/1.33, allocations: 59.84 kB / 1.45 GB, free: 8.469 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/1.331, allocations: 0.751 MB / 1.451 GB, free: 7.711 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.136e-05/1.331, allocations: 41.64 kB / 1.451 GB, free: 7.664 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005285/1.332, allocations: 0.5194 MB / 1.451 GB, free: 7.137 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003008/1.332, allocations: 186.4 kB / 1.452 GB, free: 6.953 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/1.332, allocations: 146.6 kB / 1.452 GB, free: 6.805 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002713/1.333, allocations: 341.9 kB / 1.452 GB, free: 6.465 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004311/1.333, allocations: 241.9 kB / 1.452 GB, free: 6.227 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007736/1.334, allocations: 0.5585 MB / 1.453 GB, free: 5.535 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/1.335, allocations: 0.7957 MB / 1.454 GB, free: 4.629 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/1.335, allocations: 4 kB / 1.454 GB, free: 4.625 MB / 1.154 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001677/1.337, allocations: 0.843 MB / 1.454 GB, free: 3.773 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/1.337, allocations: 8 kB / 1.454 GB, free: 3.766 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/1.337, allocations: 8 kB / 1.455 GB, free: 3.758 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.324e-05/1.337, allocations: 12 kB / 1.455 GB, free: 3.746 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006249/1.337, allocations: 151.8 kB / 1.455 GB, free: 3.598 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.567e-05/1.338, allocations: 19.92 kB / 1.455 GB, free: 3.578 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008595/1.338, allocations: 99.81 kB / 1.455 GB, free: 3.48 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.672e-05/1.338, allocations: 39.94 kB / 1.455 GB, free: 3.441 MB / 1.154 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.000676/1.339, allocations: 337.3 kB / 1.455 GB, free: 3.102 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002461/1.339, allocations: 91.44 kB / 1.455 GB, free: 3.012 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/1.341, allocations: 0.614 MB / 1.456 GB, free: 2.387 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/1.341, allocations: 8 kB / 1.456 GB, free: 2.379 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/1.341, allocations: 4 kB / 1.456 GB, free: 2.375 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008021/1.341, allocations: 0.5173 MB / 1.456 GB, free: 1.848 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003211/1.345, allocations: 1.667 MB / 1.458 GB, free: 104 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/1.345, allocations: 11.88 kB / 1.458 GB, free: 92 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005722/1.345, allocations: 107.9 kB / 1.458 GB, free: 15.98 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.377e-05/1.345, allocations: 4 kB / 1.458 GB, free: 15.98 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.573e-05/1.345, allocations: 19.94 kB / 1.458 GB, free: 15.96 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/1.345, allocations: 7.984 kB / 1.458 GB, free: 15.95 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.345, allocations: 3.938 kB / 1.458 GB, free: 15.95 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/1.347, allocations: 1.019 MB / 1.459 GB, free: 14.89 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005801/1.348, allocations: 228.3 kB / 1.459 GB, free: 14.65 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/1.348, allocations: 15.98 kB / 1.459 GB, free: 14.63 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005698/1.348, allocations: 20 kB / 1.459 GB, free: 14.61 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.026e-05/1.348, allocations: 35.88 kB / 1.459 GB, free: 14.58 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.758e-05/1.348, allocations: 23.98 kB / 1.459 GB, free: 14.55 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008683/1.349, allocations: 0.5068 MB / 1.46 GB, free: 14.05 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/1.349, allocations: 0 / 1.46 GB, free: 14.05 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00117/1.35, allocations: 299.5 kB / 1.46 GB, free: 13.76 MB / 1.17 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.0006334/1.351, allocations: 214.7 kB / 1.46 GB, free: 13.55 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001292/1.352, allocations: 0.5883 MB / 1.461 GB, free: 12.97 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/1.352, allocations: 4.562 kB / 1.461 GB, free: 12.96 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0004275/1.353, allocations: 263.5 kB / 1.461 GB, free: 12.71 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002048/1.355, allocations: 425.7 kB / 1.462 GB, free: 12.29 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00389/1.359, allocations: 1.961 MB / 1.464 GB, free: 10.28 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/1.36, allocations: 1.126 MB / 1.465 GB, free: 9.125 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009139/1.361, allocations: 271 kB / 1.465 GB, free: 8.855 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/1.361, allocations: 67.42 kB / 1.465 GB, free: 8.793 MB / 1.17 GB Notification: Performance of SimCode: time 1.323e-06/1.361, allocations: 0 / 1.465 GB, free: 8.793 MB / 1.17 GB Notification: Performance of Templates: time 0.03227/1.393, allocations: 16.1 MB / 1.481 GB, free: 8.93 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.865293071605265]