Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.001237/0.001237, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 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.001345/0.001345, allocations: 218 kB / 23.03 MB, free: 4.922 MB / 14.72 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.393/1.393, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 3.056/3.056, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 64.83 kB / 1.171 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3233, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2055/0.5288, allocations: 168.3 MB / 1.51 GB, free: 6.992 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.009767/0.5386, allocations: 5.411 MB / 1.515 GB, free: 1.57 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.5399, allocations: 55.5 kB / 1.515 GB, free: 1.516 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001722/0.5416, allocations: 0.5513 MB / 1.516 GB, free: 0.9609 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004887/0.5465, allocations: 1.921 MB / 1.517 GB, free: 15.03 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003137/0.5496, allocations: 1.208 MB / 1.519 GB, free: 13.83 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004589/0.5542, allocations: 3.041 MB / 1.522 GB, free: 10.78 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001546/0.5557, allocations: 0.8127 MB / 1.522 GB, free: 9.949 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003185/0.5589, allocations: 1.339 MB / 1.524 GB, free: 8.605 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00255/0.5615, allocations: 1.023 MB / 1.525 GB, free: 7.586 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003911/0.5619, allocations: 120 kB / 1.525 GB, free: 7.469 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002972/0.5648, allocations: 1.208 MB / 1.526 GB, free: 6.258 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0008967/0.5657, allocations: 0.5843 MB / 1.527 GB, free: 5.672 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.5671, allocations: 0.603 MB / 1.527 GB, free: 5.066 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004518/0.5716, allocations: 2.313 MB / 1.529 GB, free: 2.746 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.5716, allocations: 4 kB / 1.529 GB, free: 2.742 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5716, allocations: 0 / 1.529 GB, free: 2.742 MB / 1.217 GB Notification: Performance of Transformations before backend: time 8.968e-05/0.5717, allocations: 0 / 1.529 GB, free: 2.742 MB / 1.217 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.003725/0.5754, allocations: 1.586 MB / 1.531 GB, free: 1.121 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.5754, allocations: 8.031 kB / 1.531 GB, free: 1.113 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.726e-05/0.5755, allocations: 30 kB / 1.531 GB, free: 1.082 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003444/0.5758, allocations: 156.2 kB / 1.531 GB, free: 0.9219 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002296/0.5781, allocations: 330.9 kB / 1.531 GB, free: 0.5977 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001857/0.58, allocations: 0.8424 MB / 1.532 GB, free: 15.72 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.4e-05/0.5801, allocations: 77.94 kB / 1.532 GB, free: 15.65 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/0.5803, allocations: 103.9 kB / 1.532 GB, free: 15.55 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002341/0.5826, allocations: 1.537 MB / 1.534 GB, free: 13.89 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.5826, allocations: 0 / 1.534 GB, free: 13.89 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.5827, allocations: 40 kB / 1.534 GB, free: 13.86 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.696e-05/0.5828, allocations: 38 kB / 1.534 GB, free: 13.82 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.5846, allocations: 0.9954 MB / 1.535 GB, free: 12.82 MB / 1.232 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.006095/0.5907, allocations: 2.914 MB / 1.538 GB, free: 9.848 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009373/0.5916, allocations: 0.5668 MB / 1.538 GB, free: 9.273 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005362/0.5922, allocations: 322.5 kB / 1.539 GB, free: 8.953 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001617/0.5923, allocations: 24.42 kB / 1.539 GB, free: 8.93 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.5924, allocations: 43 kB / 1.539 GB, free: 8.879 MB / 1.232 GB Notification: Performance of pre-optimization done (n=53): time 2.184e-06/0.5924, allocations: 4 kB / 1.539 GB, free: 8.875 MB / 1.232 GB Notification: Performance of matching and sorting (n=55): time 0.004194/0.5966, allocations: 1.908 MB / 1.541 GB, free: 6.922 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.5966, allocations: 59.91 kB / 1.541 GB, free: 6.852 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.5978, allocations: 0.8843 MB / 1.542 GB, free: 5.961 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 7.064e-05/0.5979, allocations: 45.7 kB / 1.542 GB, free: 5.91 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004267/0.5983, allocations: 0.5196 MB / 1.542 GB, free: 5.383 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.5985, allocations: 206.2 kB / 1.542 GB, free: 5.18 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/0.5988, allocations: 134.6 kB / 1.542 GB, free: 5.043 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.5989, allocations: 330 kB / 1.543 GB, free: 4.715 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005097/0.5994, allocations: 289.8 kB / 1.543 GB, free: 4.43 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006488/0.6001, allocations: 484.5 kB / 1.543 GB, free: 3.895 MB / 1.232 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.004019/0.6041, allocations: 1.669 MB / 1.545 GB, free: 2.172 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6041, allocations: 4 kB / 1.545 GB, free: 2.168 MB / 1.232 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001612/0.6057, allocations: 0.9322 MB / 1.546 GB, free: 1.219 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.6057, allocations: 7.938 kB / 1.546 GB, free: 1.211 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.6057, allocations: 4.5 kB / 1.546 GB, free: 1.207 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002193/0.6059, allocations: 102.5 kB / 1.546 GB, free: 1.098 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007309/0.6067, allocations: 171.7 kB / 1.546 GB, free: 0.9297 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003899/0.6106, allocations: 4.303 MB / 1.55 GB, free: 12.29 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008656/0.6114, allocations: 27.92 kB / 1.551 GB, free: 12.26 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-05/0.6115, allocations: 35.94 kB / 1.551 GB, free: 12.22 MB / 1.248 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.0005696/0.6121, allocations: 348.8 kB / 1.551 GB, free: 11.88 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/0.6123, allocations: 107.3 kB / 1.551 GB, free: 11.77 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/0.6125, allocations: 109.2 kB / 1.551 GB, free: 11.66 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.6125, allocations: 8 kB / 1.551 GB, free: 11.65 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.6125, allocations: 4 kB / 1.551 GB, free: 11.65 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001181/0.6137, allocations: 0.7638 MB / 1.552 GB, free: 10.83 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00329/0.617, allocations: 1.808 MB / 1.554 GB, free: 8.926 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.617, allocations: 0 / 1.554 GB, free: 8.926 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006912/0.6177, allocations: 152.2 kB / 1.554 GB, free: 8.777 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001059/0.6178, allocations: 40.83 kB / 1.554 GB, free: 8.734 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-05/0.6179, allocations: 19.98 kB / 1.554 GB, free: 8.715 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001352/0.6192, allocations: 1.483 MB / 1.555 GB, free: 7.117 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.6192, allocations: 4 kB / 1.555 GB, free: 7.113 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.6211, allocations: 1.222 MB / 1.556 GB, free: 5.832 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004915/0.6216, allocations: 187.2 kB / 1.557 GB, free: 5.648 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/0.6218, allocations: 16 kB / 1.557 GB, free: 5.633 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007346/0.6225, allocations: 31.91 kB / 1.557 GB, free: 5.602 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.6226, allocations: 51.86 kB / 1.557 GB, free: 5.551 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.295e-05/0.6227, allocations: 31.92 kB / 1.557 GB, free: 5.52 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008844/0.6236, allocations: 0.6122 MB / 1.557 GB, free: 4.914 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.6236, allocations: 0 / 1.557 GB, free: 4.914 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001116/0.6247, allocations: 304 kB / 1.558 GB, free: 4.617 MB / 1.248 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.002501/0.6272, allocations: 1.832 MB / 1.559 GB, free: 2.719 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001667/0.6288, allocations: 0.9877 MB / 1.56 GB, free: 1.691 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.6289, allocations: 256 / 1.56 GB, free: 1.691 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0006429/0.6295, allocations: 434.2 kB / 1.561 GB, free: 1.254 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002782/0.6323, allocations: 0.6578 MB / 1.561 GB, free: 0.6094 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.6438, allocations: 7.967 MB / 1.569 GB, free: 8.324 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006888/0.6445, allocations: 0.5743 MB / 1.57 GB, free: 7.719 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0008579/0.6453, allocations: 248.4 kB / 1.57 GB, free: 7.473 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005609/0.6459, allocations: 383.3 kB / 1.57 GB, free: 7.098 MB / 1.264 GB Notification: Performance of SimCode: time 6.02e-07/0.6459, allocations: 0 / 1.57 GB, free: 7.098 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07662/0.7225, allocations: 33.25 MB / 1.603 GB, free: 6.551 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/15.09, allocations: 9.797 kB / 1.603 GB, free: 6.547 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 22.13834633002989]