Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.0008295/0.0008295, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0008608/0.0008608, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8345/0.8345, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.702/1.702, allocations: 389.1 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.149e-05/1.336e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.5482/0.5482, allocations: 165.3 MB / 1.161 GB, free: 11.93 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.01169/0.5599, allocations: 11.91 MB / 1.173 GB, free: 3.941 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.561, allocations: 42.75 kB / 1.173 GB, free: 3.918 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.5622, allocations: 418.9 kB / 1.173 GB, free: 3.668 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.002098/0.5643, allocations: 0.9755 MB / 1.174 GB, free: 3.117 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.566, allocations: 0.7744 MB / 1.175 GB, free: 2.73 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.001873/0.5679, allocations: 1.49 MB / 1.176 GB, free: 2.043 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005946/0.5684, allocations: 458 kB / 1.177 GB, free: 1.844 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003365/0.5718, allocations: 2.042 MB / 1.179 GB, free: 0.9219 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.5728, allocations: 460.2 kB / 1.179 GB, free: 0.7852 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 7.69e-05/0.5729, allocations: 53.78 kB / 1.179 GB, free: 0.7852 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.5742, allocations: 0.73 MB / 1.18 GB, free: 0.5547 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0002642/0.5744, allocations: 297.1 kB / 1.18 GB, free: 436 kB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0002441/0.5747, allocations: 260.1 kB / 1.181 GB, free: 332 kB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.5762, allocations: 1.172 MB / 1.182 GB, free: 15.91 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5762, allocations: 8 kB / 1.182 GB, free: 15.91 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5762, allocations: 1.375 kB / 1.182 GB, free: 15.91 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.5762, allocations: 0 / 1.182 GB, free: 15.91 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001134/0.5773, allocations: 0.9837 MB / 1.183 GB, free: 15.2 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.5774, allocations: 10.56 kB / 1.183 GB, free: 15.2 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.088e-05/0.5775, allocations: 109.1 kB / 1.183 GB, free: 15.12 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005933/0.578, allocations: 196.5 kB / 1.183 GB, free: 15.06 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006248/0.5787, allocations: 490.2 kB / 1.183 GB, free: 14.74 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.5787, allocations: 45.66 kB / 1.183 GB, free: 14.72 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.728e-05/0.5788, allocations: 59.41 kB / 1.184 GB, free: 14.7 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008287/0.5796, allocations: 0.7939 MB / 1.184 GB, free: 14.17 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.5796, allocations: 10.34 kB / 1.184 GB, free: 14.16 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.5796, allocations: 27.92 kB / 1.184 GB, free: 14.15 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.141e-05/0.5797, allocations: 22.59 kB / 1.184 GB, free: 14.14 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006183/0.5803, allocations: 469.9 kB / 1.185 GB, free: 13.99 MB / 1.042 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.002611/0.5829, allocations: 3.984 MB / 1.189 GB, free: 10.56 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.583, allocations: 106.6 kB / 1.189 GB, free: 10.45 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.131e-05/0.5831, allocations: 70.67 kB / 1.189 GB, free: 10.4 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.5832, allocations: 20.62 kB / 1.189 GB, free: 10.4 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.5832, allocations: 35.91 kB / 1.189 GB, free: 10.36 MB / 1.042 GB Notification: Performance of pre-optimization done (n=10): time 1.824e-06/0.5832, allocations: 0 / 1.189 GB, free: 10.36 MB / 1.042 GB Notification: Performance of matching and sorting (n=10): time 0.000449/0.5837, allocations: 244.1 kB / 1.189 GB, free: 10.25 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.5837, allocations: 138 kB / 1.189 GB, free: 10.09 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007872/0.5845, allocations: 0.857 MB / 1.19 GB, free: 9.727 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.5845, allocations: 28.27 kB / 1.19 GB, free: 9.695 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.5847, allocations: 404.1 kB / 1.191 GB, free: 9.371 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.5848, allocations: 42.09 kB / 1.191 GB, free: 9.34 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.5849, allocations: 86.81 kB / 1.191 GB, free: 9.289 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.26e-05/0.5849, allocations: 329.3 kB / 1.191 GB, free: 8.973 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.5851, allocations: 114.2 kB / 1.191 GB, free: 8.941 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.5854, allocations: 0.5033 MB / 1.192 GB, free: 8.41 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/0.5858, allocations: 439.8 kB / 1.192 GB, free: 8.027 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.5858, allocations: 2.406 kB / 1.192 GB, free: 8.027 MB / 1.042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006226/0.5865, allocations: 0.5049 MB / 1.192 GB, free: 7.812 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.5865, allocations: 8.031 kB / 1.192 GB, free: 7.812 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.5865, allocations: 7.625 kB / 1.192 GB, free: 7.812 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/0.5865, allocations: 14.38 kB / 1.193 GB, free: 7.812 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.5867, allocations: 91.97 kB / 1.193 GB, free: 7.805 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/0.5867, allocations: 14.47 kB / 1.193 GB, free: 7.801 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004681/0.5872, allocations: 119.4 kB / 1.193 GB, free: 7.746 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.633e-05/0.5872, allocations: 29.88 kB / 1.193 GB, free: 7.738 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0002415/0.5875, allocations: 234.4 kB / 1.193 GB, free: 7.562 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.5876, allocations: 79.52 kB / 1.193 GB, free: 7.52 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.289e-05/0.5877, allocations: 72.73 kB / 1.193 GB, free: 7.484 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.5877, allocations: 6.156 kB / 1.193 GB, free: 7.48 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.5877, allocations: 1.062 kB / 1.193 GB, free: 7.48 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.5877, allocations: 4.312 kB / 1.193 GB, free: 7.48 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.5888, allocations: 1.027 MB / 1.194 GB, free: 6.691 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.5888, allocations: 2.219 kB / 1.194 GB, free: 6.691 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.878e-05/0.5889, allocations: 21.17 kB / 1.194 GB, free: 6.688 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.5889, allocations: 11.56 kB / 1.194 GB, free: 6.68 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.5889, allocations: 7.625 kB / 1.194 GB, free: 6.676 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.5889, allocations: 5.359 kB / 1.194 GB, free: 6.676 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5889, allocations: 2.438 kB / 1.194 GB, free: 6.676 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.5891, allocations: 258.1 kB / 1.194 GB, free: 6.473 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.5893, allocations: 105.8 kB / 1.195 GB, free: 6.406 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.104e-05/0.5893, allocations: 9.906 kB / 1.195 GB, free: 6.402 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.5895, allocations: 18.91 kB / 1.195 GB, free: 6.398 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.943e-05/0.5895, allocations: 8.297 kB / 1.195 GB, free: 6.398 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.5895, allocations: 8.969 kB / 1.195 GB, free: 6.395 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0005495/0.59, allocations: 0.5813 MB / 1.195 GB, free: 6.168 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.59, allocations: 0 / 1.195 GB, free: 6.168 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.000474/0.5905, allocations: 157.8 kB / 1.195 GB, free: 6.145 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * 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.000698/0.5912, allocations: 0.879 MB / 1.196 GB, free: 5.383 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003713/0.5916, allocations: 241.4 kB / 1.196 GB, free: 5.305 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5916, allocations: 1.156 kB / 1.196 GB, free: 5.305 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 4.38e-05/0.5916, allocations: 43.38 kB / 1.196 GB, free: 5.293 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009297/0.5926, allocations: 366.5 kB / 1.197 GB, free: 5.188 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005302/0.5979, allocations: 5.429 MB / 1.202 GB, free: 2.047 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.5981, allocations: 345.8 kB / 1.202 GB, free: 1.922 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.000482/0.5986, allocations: 145 kB / 1.203 GB, free: 1.895 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.5988, allocations: 228 kB / 1.203 GB, free: 1.73 MB / 1.042 GB Notification: Performance of SimCode: time 8.71e-07/0.5988, allocations: 0 / 1.203 GB, free: 1.73 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03193/0.6307, allocations: 19.89 MB / 1.222 GB, free: 7.621 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.042/7.672, allocations: 1.719 kB / 1.222 GB, free: 7.621 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv --start-time 0 --stop-time 2 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable const.k in file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv. Warning: Get data of variable const.k from file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.602139144204557]