Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008462/0.0008462, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009649/0.0009649, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8592/0.8592, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.702/1.702, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.191e-05, allocations: 4.953 kB / 0.981 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.594/0.594, allocations: 168.3 MB / 1.145 GB, free: 15.39 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.007634/0.6016, allocations: 5.422 MB / 1.151 GB, free: 11.7 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001489/0.6031, allocations: 56.69 kB / 1.151 GB, free: 11.67 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.6045, allocations: 0.5507 MB / 1.151 GB, free: 11.37 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004245/0.6088, allocations: 1.965 MB / 1.153 GB, free: 10.27 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00274/0.6115, allocations: 1.243 MB / 1.154 GB, free: 9.613 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.004014/0.6155, allocations: 3.055 MB / 1.157 GB, free: 8.184 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/0.6169, allocations: 0.819 MB / 1.158 GB, free: 7.785 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003242/0.6202, allocations: 1.669 MB / 1.16 GB, free: 7.039 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002109/0.6223, allocations: 0.9116 MB / 1.161 GB, free: 6.75 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002652/0.6225, allocations: 123.2 kB / 1.161 GB, free: 6.75 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002812/0.6253, allocations: 1.221 MB / 1.162 GB, free: 6.309 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0007804/0.6261, allocations: 0.6119 MB / 1.163 GB, free: 6.039 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.6272, allocations: 0.5188 MB / 1.163 GB, free: 5.828 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.00459/0.6318, allocations: 2.383 MB / 1.165 GB, free: 5.004 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.6318, allocations: 0 / 1.165 GB, free: 5.004 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6318, allocations: 0 / 1.165 GB, free: 5.004 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.47e-05/0.6319, allocations: 0 / 1.165 GB, free: 5.004 MB / 1.01 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.00319/0.635, allocations: 1.564 MB / 1.167 GB, free: 4.027 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.6351, allocations: 9.906 kB / 1.167 GB, free: 4.027 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002281/0.6353, allocations: 161.3 kB / 1.167 GB, free: 3.922 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/0.6367, allocations: 338 kB / 1.167 GB, free: 3.828 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.6383, allocations: 0.8506 MB / 1.168 GB, free: 3.34 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.069e-05/0.6383, allocations: 70.44 kB / 1.168 GB, free: 3.309 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.6385, allocations: 105.2 kB / 1.168 GB, free: 3.27 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.6404, allocations: 1.535 MB / 1.17 GB, free: 2.312 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.6404, allocations: 0 / 1.17 GB, free: 2.312 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.702e-05/0.6405, allocations: 45.97 kB / 1.17 GB, free: 2.277 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.802e-05/0.6406, allocations: 39.22 kB / 1.17 GB, free: 2.277 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.6421, allocations: 0.9933 MB / 1.171 GB, free: 1.953 MB / 1.01 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.004864/0.6469, allocations: 2.898 MB / 1.174 GB, free: 0.5859 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006423/0.6476, allocations: 0.5671 MB / 1.174 GB, free: 348 kB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000345/0.6479, allocations: 325.2 kB / 1.175 GB, free: 228 kB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001352/0.648, allocations: 23.58 kB / 1.175 GB, free: 228 kB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.6481, allocations: 47.38 kB / 1.175 GB, free: 180 kB / 1.01 GB Notification: Performance of pre-optimization done (n=53): time 3.046e-06/0.6481, allocations: 0 / 1.175 GB, free: 180 kB / 1.01 GB Notification: Performance of matching and sorting (n=55): time 0.003043/0.6511, allocations: 1.926 MB / 1.177 GB, free: 15.25 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.6512, allocations: 57.19 kB / 1.177 GB, free: 15.19 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009345/0.6521, allocations: 0.8927 MB / 1.178 GB, free: 14.83 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 5.696e-05/0.6521, allocations: 38.3 kB / 1.178 GB, free: 14.79 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002878/0.6524, allocations: 0.5225 MB / 1.178 GB, free: 14.38 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.6526, allocations: 200.2 kB / 1.178 GB, free: 14.21 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.6527, allocations: 136 kB / 1.178 GB, free: 14.14 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 9.187e-05/0.6528, allocations: 336.4 kB / 1.179 GB, free: 13.82 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003474/0.6532, allocations: 287.7 kB / 1.179 GB, free: 13.73 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004202/0.6536, allocations: 486.4 kB / 1.179 GB, free: 13.42 MB / 1.026 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.002546/0.6562, allocations: 1.663 MB / 1.181 GB, free: 12.76 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.6562, allocations: 3.641 kB / 1.181 GB, free: 12.76 MB / 1.026 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001121/0.6573, allocations: 0.9266 MB / 1.182 GB, free: 12.37 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.6573, allocations: 6.812 kB / 1.182 GB, free: 12.37 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.6573, allocations: 6.375 kB / 1.182 GB, free: 12.37 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001605/0.6575, allocations: 105.4 kB / 1.182 GB, free: 12.32 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004096/0.6579, allocations: 159.1 kB / 1.182 GB, free: 12.31 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/0.6602, allocations: 4.311 MB / 1.186 GB, free: 8.336 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007054/0.661, allocations: 33.45 kB / 1.186 GB, free: 8.32 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/0.661, allocations: 29.64 kB / 1.187 GB, free: 8.312 MB / 1.026 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.0005452/0.6615, allocations: 347.3 kB / 1.187 GB, free: 8.094 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.6617, allocations: 103.1 kB / 1.187 GB, free: 8.043 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.6618, allocations: 115.2 kB / 1.187 GB, free: 7.977 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.6618, allocations: 5.656 kB / 1.187 GB, free: 7.977 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.6618, allocations: 0 / 1.187 GB, free: 7.977 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000741/0.6626, allocations: 0.7619 MB / 1.188 GB, free: 7.531 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002368/0.6649, allocations: 1.812 MB / 1.19 GB, free: 6.621 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.6649, allocations: 3.906 kB / 1.19 GB, free: 6.621 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003751/0.6653, allocations: 145.5 kB / 1.19 GB, free: 6.613 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.379e-05/0.6654, allocations: 41.45 kB / 1.19 GB, free: 6.594 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.6654, allocations: 22.36 kB / 1.19 GB, free: 6.582 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000959/0.6664, allocations: 1.497 MB / 1.191 GB, free: 5.238 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.6664, allocations: 14.62 kB / 1.191 GB, free: 5.23 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.6678, allocations: 1.204 MB / 1.192 GB, free: 4.609 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004302/0.6682, allocations: 182.5 kB / 1.193 GB, free: 4.516 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.405e-05/0.6683, allocations: 18.19 kB / 1.193 GB, free: 4.508 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003856/0.6687, allocations: 34.64 kB / 1.193 GB, free: 4.496 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.596e-05/0.6688, allocations: 45.89 kB / 1.193 GB, free: 4.488 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-05/0.6688, allocations: 34.39 kB / 1.193 GB, free: 4.48 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0006784/0.6695, allocations: 0.6153 MB / 1.193 GB, free: 4.23 MB / 1.026 GB Notification: Performance of sort global known variables: time 4.3e-07/0.6695, allocations: 0 / 1.193 GB, free: 4.23 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0008695/0.6704, allocations: 302.9 kB / 1.194 GB, free: 4.211 MB / 1.026 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.00152/0.6719, allocations: 1.828 MB / 1.195 GB, free: 3.031 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001073/0.673, allocations: 0.9875 MB / 1.196 GB, free: 2.473 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.673, allocations: 0 / 1.196 GB, free: 2.473 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0004014/0.6734, allocations: 430.4 kB / 1.197 GB, free: 2.262 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/0.6752, allocations: 0.6543 MB / 1.197 GB, free: 2.074 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00932/0.6846, allocations: 7.919 MB / 1.205 GB, free: 13.49 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004831/0.685, allocations: 0.5725 MB / 1.206 GB, free: 13.16 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0008368/0.6859, allocations: 256.2 kB / 1.206 GB, free: 13.05 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003986/0.6863, allocations: 384.8 kB / 1.206 GB, free: 12.73 MB / 1.042 GB Notification: Performance of SimCode: time 2.003e-06/0.6863, allocations: 0 / 1.206 GB, free: 12.73 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04675/0.733, allocations: 33.59 MB / 1.239 GB, free: 1.402 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.065/8.798, allocations: 2.25 kB / 1.239 GB, free: 1.402 MB / 1.057 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.765427758917212]