Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.00139/0.00139, allocations: 109 kB / 17.54 MB, free: 4.766 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.001441/0.001441, allocations: 181.9 kB / 20.71 MB, free: 1.609 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.281/1.281, allocations: 225.6 MB / 249.3 MB, free: 3.207 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.472/2.472, allocations: 476.7 MB / 0.7628 GB, free: 15.3 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 67.89 kB / 1.107 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7724/0.7742, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2056/0.9798, allocations: 191.5 MB / 1.458 GB, free: 5.156 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.008742/0.9886, allocations: 5.742 MB / 1.464 GB, free: 15.41 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008062/0.9894, allocations: 39.75 kB / 1.464 GB, free: 15.37 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.9907, allocations: 0.602 MB / 1.465 GB, free: 14.76 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00375/0.9944, allocations: 1.898 MB / 1.466 GB, free: 12.86 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002561/0.997, allocations: 1.207 MB / 1.468 GB, free: 11.65 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003281/1, allocations: 2.965 MB / 1.471 GB, free: 8.684 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/1.001, allocations: 0.8276 MB / 1.471 GB, free: 7.836 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/1.003, allocations: 1.117 MB / 1.472 GB, free: 6.715 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001869/1.005, allocations: 1.034 MB / 1.473 GB, free: 5.684 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001966/1.005, allocations: 120 kB / 1.474 GB, free: 5.566 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002772/1.008, allocations: 1.532 MB / 1.475 GB, free: 4.031 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005807/1.008, allocations: 0.5843 MB / 1.476 GB, free: 3.445 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007794/1.009, allocations: 0.7234 MB / 1.476 GB, free: 2.719 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002912/1.012, allocations: 2.351 MB / 1.479 GB, free: 368 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/1.012, allocations: 0 / 1.479 GB, free: 368 kB / 1.154 GB Notification: Performance of FrontEnd: time 1.734e-06/1.012, allocations: 0 / 1.479 GB, free: 368 kB / 1.154 GB Notification: Performance of Transformations before backend: time 1.389e-05/1.012, allocations: 0 / 1.479 GB, free: 368 kB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002463/1.014, allocations: 1.653 MB / 1.48 GB, free: 14.65 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/1.014, allocations: 12.03 kB / 1.48 GB, free: 14.64 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001892/1.015, allocations: 156.2 kB / 1.48 GB, free: 14.48 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001878/1.017, allocations: 334.9 kB / 1.481 GB, free: 14.15 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/1.018, allocations: 0.9261 MB / 1.482 GB, free: 13.18 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.702e-05/1.018, allocations: 74 kB / 1.482 GB, free: 13.11 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/1.018, allocations: 92 kB / 1.482 GB, free: 13.02 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/1.02, allocations: 1.081 MB / 1.483 GB, free: 11.93 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/1.02, allocations: 0 / 1.483 GB, free: 11.93 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-05/1.02, allocations: 43.98 kB / 1.483 GB, free: 11.89 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.252e-05/1.02, allocations: 45.98 kB / 1.483 GB, free: 11.84 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/1.022, allocations: 0.9915 MB / 1.484 GB, free: 10.85 MB / 1.17 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.005732/1.027, allocations: 4.238 MB / 1.488 GB, free: 6.316 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00086/1.028, allocations: 0.5635 MB / 1.489 GB, free: 5.746 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004946/1.029, allocations: 318.5 kB / 1.489 GB, free: 5.43 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00018/1.029, allocations: 105.5 kB / 1.489 GB, free: 5.309 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/1.029, allocations: 46.94 kB / 1.489 GB, free: 5.254 MB / 1.17 GB Notification: Performance of pre-optimization done (n=53): time 1.934e-06/1.029, allocations: 0 / 1.489 GB, free: 5.254 MB / 1.17 GB Notification: Performance of matching and sorting (n=55): time 0.003844/1.033, allocations: 2.214 MB / 1.491 GB, free: 2.922 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/1.033, allocations: 59.91 kB / 1.491 GB, free: 2.852 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/1.034, allocations: 0.8844 MB / 1.492 GB, free: 1.957 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.501e-05/1.034, allocations: 37.7 kB / 1.492 GB, free: 1.914 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003871/1.034, allocations: 0.5235 MB / 1.493 GB, free: 1.383 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000182/1.034, allocations: 214.2 kB / 1.493 GB, free: 1.172 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/1.035, allocations: 130.6 kB / 1.493 GB, free: 1.039 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.035, allocations: 326 kB / 1.493 GB, free: 0.7148 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004725/1.035, allocations: 289.8 kB / 1.494 GB, free: 444 kB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005962/1.036, allocations: 436.9 kB / 1.494 GB, free: 15.96 MB / 1.186 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003799/1.04, allocations: 1.738 MB / 1.496 GB, free: 14.15 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.04, allocations: 0 / 1.496 GB, free: 14.15 MB / 1.186 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001458/1.041, allocations: 0.9267 MB / 1.497 GB, free: 13.21 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/1.041, allocations: 11.98 kB / 1.497 GB, free: 13.2 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/1.041, allocations: 15.94 kB / 1.497 GB, free: 13.18 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001981/1.041, allocations: 94.47 kB / 1.497 GB, free: 13.08 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006859/1.042, allocations: 163.8 kB / 1.497 GB, free: 12.92 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003636/1.046, allocations: 4.637 MB / 1.501 GB, free: 7.859 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007331/1.046, allocations: 31.88 kB / 1.501 GB, free: 7.828 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-05/1.046, allocations: 28 kB / 1.501 GB, free: 7.801 MB / 1.186 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004763/1.047, allocations: 351.1 kB / 1.502 GB, free: 7.449 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/1.047, allocations: 103.4 kB / 1.502 GB, free: 7.348 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/1.047, allocations: 113.2 kB / 1.502 GB, free: 7.234 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/1.047, allocations: 8 kB / 1.502 GB, free: 7.227 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.047, allocations: 0 / 1.502 GB, free: 7.227 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001057/1.048, allocations: 0.7614 MB / 1.503 GB, free: 6.414 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00291/1.051, allocations: 2 MB / 1.505 GB, free: 4.309 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/1.051, allocations: 4 kB / 1.505 GB, free: 4.305 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006549/1.052, allocations: 144.2 kB / 1.505 GB, free: 4.164 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.221e-05/1.052, allocations: 44.77 kB / 1.505 GB, free: 4.117 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.833e-05/1.052, allocations: 16 kB / 1.505 GB, free: 4.102 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/1.053, allocations: 1.61 MB / 1.507 GB, free: 2.352 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.053, allocations: 4 kB / 1.507 GB, free: 2.348 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/1.055, allocations: 1.208 MB / 1.508 GB, free: 1.082 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003577/1.055, allocations: 264.4 kB / 1.508 GB, free: 0.8047 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/1.055, allocations: 12 kB / 1.508 GB, free: 0.793 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006566/1.056, allocations: 31.97 kB / 1.508 GB, free: 0.7617 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.958e-05/1.056, allocations: 47.83 kB / 1.508 GB, free: 0.7148 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-05/1.056, allocations: 35.98 kB / 1.508 GB, free: 0.6797 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007178/1.057, allocations: 0.6122 MB / 1.509 GB, free: 76 kB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/1.057, allocations: 0 / 1.509 GB, free: 76 kB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008284/1.058, allocations: 300 kB / 1.509 GB, free: 15.78 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002263/1.06, allocations: 1.855 MB / 1.511 GB, free: 13.86 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001437/1.061, allocations: 0.9828 MB / 1.512 GB, free: 12.84 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/1.061, allocations: 4 kB / 1.512 GB, free: 12.84 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006114/1.062, allocations: 444 kB / 1.512 GB, free: 12.39 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002539/1.065, allocations: 0.6492 MB / 1.513 GB, free: 11.75 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/1.075, allocations: 7.964 MB / 1.521 GB, free: 3.477 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008093/1.076, allocations: 1.17 MB / 1.522 GB, free: 2.277 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0007504/1.077, allocations: 260.4 kB / 1.522 GB, free: 2.02 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004919/1.077, allocations: 379.3 kB / 1.522 GB, free: 1.648 MB / 1.201 GB Notification: Performance of SimCode: time 8.92e-07/1.077, allocations: 0 / 1.522 GB, free: 1.648 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08843/1.165, allocations: 30.67 MB / 1.552 GB, free: 3.434 MB / 1.233 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/13.19, allocations: 20.38 kB / 1.552 GB, free: 3.422 MB / 1.233 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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: 18.51576921599917]