Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008943/0.0008943, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001021/0.001021, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9033/0.9033, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.7/1.7, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.837e-06/3.837e-06, allocations: 0 / 0.9505 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.611e-05/4.994e-05, allocations: 8.891 kB / 0.9505 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.6241/0.6241, allocations: 172.5 MB / 1.119 GB, free: 30.25 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01207/0.6362, allocations: 13.12 MB / 1.132 GB, free: 21.45 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/0.6376, allocations: 51.84 kB / 1.132 GB, free: 21.42 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.639, allocations: 0.5008 MB / 1.132 GB, free: 21.12 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.004256/0.6433, allocations: 1.992 MB / 1.134 GB, free: 20.05 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002298/0.6456, allocations: 0.9426 MB / 1.135 GB, free: 19.56 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.003231/0.6488, allocations: 2.632 MB / 1.138 GB, free: 18.33 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.6501, allocations: 0.7988 MB / 1.139 GB, free: 17.95 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003834/0.6539, allocations: 1.971 MB / 1.14 GB, free: 17.11 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.6554, allocations: 0.8918 MB / 1.141 GB, free: 16.82 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002288/0.6556, allocations: 110.9 kB / 1.141 GB, free: 16.82 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001912/0.6575, allocations: 0.9526 MB / 1.142 GB, free: 16.47 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004916/0.658, allocations: 0.5375 MB / 1.143 GB, free: 16.23 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006473/0.6587, allocations: 456.2 kB / 1.143 GB, free: 16.05 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002711/0.6614, allocations: 1.942 MB / 1.145 GB, free: 15.38 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.6614, allocations: 0.75 kB / 1.145 GB, free: 15.38 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.295e-06/0.6614, allocations: 0 / 1.145 GB, free: 15.38 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.324e-05/0.6614, allocations: 0 / 1.145 GB, free: 15.38 MB / 0.9948 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.002352/0.6638, allocations: 1.397 MB / 1.147 GB, free: 14.46 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.6638, allocations: 9.891 kB / 1.147 GB, free: 14.46 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001455/0.664, allocations: 147.2 kB / 1.147 GB, free: 14.37 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009613/0.6649, allocations: 272.1 kB / 1.147 GB, free: 14.27 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.666, allocations: 0.7272 MB / 1.148 GB, free: 13.85 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.122e-05/0.6661, allocations: 72.56 kB / 1.148 GB, free: 13.82 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.6662, allocations: 94.62 kB / 1.148 GB, free: 13.79 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.6676, allocations: 1.299 MB / 1.149 GB, free: 13.07 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.6677, allocations: 1.531 kB / 1.149 GB, free: 13.07 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.495e-05/0.6677, allocations: 37.69 kB / 1.149 GB, free: 13.04 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.27e-05/0.6678, allocations: 41.2 kB / 1.149 GB, free: 13.04 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.6689, allocations: 0.911 MB / 1.15 GB, free: 12.72 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.003668/0.6725, allocations: 4.125 MB / 1.154 GB, free: 9.844 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007103/0.6733, allocations: 0.5122 MB / 1.155 GB, free: 9.645 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/0.6736, allocations: 296.9 kB / 1.155 GB, free: 9.535 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003033/0.6739, allocations: 81.59 kB / 1.155 GB, free: 9.527 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.6739, allocations: 38.12 kB / 1.155 GB, free: 9.484 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=49): time 2.074e-06/0.6739, allocations: 0 / 1.155 GB, free: 9.484 MB / 0.9948 GB Notification: Performance of matching and sorting (n=49): time 0.001117/0.675, allocations: 0.8065 MB / 1.156 GB, free: 9.172 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.675, allocations: 57.48 kB / 1.156 GB, free: 9.109 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008251/0.6759, allocations: 0.773 MB / 1.157 GB, free: 8.781 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/0.6759, allocations: 38.8 kB / 1.157 GB, free: 8.742 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/0.6762, allocations: 0.5222 MB / 1.157 GB, free: 8.32 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.6763, allocations: 187.1 kB / 1.157 GB, free: 8.172 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.6764, allocations: 139.7 kB / 1.157 GB, free: 8.102 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.833e-05/0.6765, allocations: 339.8 kB / 1.158 GB, free: 7.781 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.6768, allocations: 246.2 kB / 1.158 GB, free: 7.699 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004192/0.6772, allocations: 0.8346 MB / 1.159 GB, free: 6.895 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006993/0.6779, allocations: 0.8002 MB / 1.16 GB, free: 6.34 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.6779, allocations: 3.438 kB / 1.16 GB, free: 6.34 MB / 0.9948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009568/0.6788, allocations: 0.8515 MB / 1.16 GB, free: 5.988 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.6789, allocations: 11.94 kB / 1.16 GB, free: 5.984 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.6789, allocations: 8.594 kB / 1.16 GB, free: 5.984 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/0.6789, allocations: 12.59 kB / 1.16 GB, free: 5.984 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003644/0.6793, allocations: 154 kB / 1.161 GB, free: 5.969 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.805e-05/0.6793, allocations: 18.11 kB / 1.161 GB, free: 5.965 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004948/0.6798, allocations: 88.12 kB / 1.161 GB, free: 5.91 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.335e-05/0.6798, allocations: 33.34 kB / 1.161 GB, free: 5.906 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.0003756/0.6802, allocations: 337.6 kB / 1.161 GB, free: 5.688 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.803e-05/0.6803, allocations: 90.44 kB / 1.161 GB, free: 5.641 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007202/0.681, allocations: 0.6214 MB / 1.162 GB, free: 5.363 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.681, allocations: 4.984 kB / 1.162 GB, free: 5.363 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.681, allocations: 7.578 kB / 1.162 GB, free: 5.359 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004888/0.6815, allocations: 0.5144 MB / 1.162 GB, free: 5.133 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.6833, allocations: 1.547 MB / 1.164 GB, free: 4.344 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.6833, allocations: 2.125 kB / 1.164 GB, free: 4.344 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003087/0.6836, allocations: 115 kB / 1.164 GB, free: 4.332 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.6836, allocations: 3.281 kB / 1.164 GB, free: 4.332 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.6836, allocations: 18.59 kB / 1.164 GB, free: 4.32 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.6836, allocations: 5.141 kB / 1.164 GB, free: 4.32 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6836, allocations: 8.094 kB / 1.164 GB, free: 4.316 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009398/0.6846, allocations: 1.018 MB / 1.165 GB, free: 3.801 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002336/0.6848, allocations: 160.4 kB / 1.165 GB, free: 3.711 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.498e-05/0.6849, allocations: 17.88 kB / 1.165 GB, free: 3.699 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.6851, allocations: 12.53 kB / 1.165 GB, free: 3.695 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.6852, allocations: 36.81 kB / 1.165 GB, free: 3.688 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.6852, allocations: 19.08 kB / 1.165 GB, free: 3.684 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005007/0.6857, allocations: 0.5177 MB / 1.166 GB, free: 3.473 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6857, allocations: 0 / 1.166 GB, free: 3.473 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0008411/0.6865, allocations: 300.4 kB / 1.166 GB, free: 3.414 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.001386/0.6879, allocations: 1.649 MB / 1.168 GB, free: 2.336 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0007287/0.6886, allocations: 0.5862 MB / 1.168 GB, free: 2.141 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6886, allocations: 0 / 1.168 GB, free: 2.141 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002563/0.6889, allocations: 263.6 kB / 1.168 GB, free: 2.055 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.6901, allocations: 448.2 kB / 1.169 GB, free: 1.918 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00805/0.6982, allocations: 7.163 MB / 1.176 GB, free: 13.93 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.6986, allocations: 0.5225 MB / 1.176 GB, free: 13.77 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007703/0.6994, allocations: 269.7 kB / 1.177 GB, free: 13.73 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003915/0.6998, allocations: 366.4 kB / 1.177 GB, free: 13.46 MB / 1.01 GB Notification: Performance of SimCode: time 1.162e-06/0.6998, allocations: 0 / 1.177 GB, free: 13.46 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04364/0.7434, allocations: 25.54 MB / 1.202 GB, free: 3.602 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.89/8.633, allocations: 13.27 kB / 1.202 GB, free: 3.594 MB / 1.01 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.748737523332238]