Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.0008207/0.0008207, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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.0007874/0.0007874, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.8442/0.8442, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.638/1.638, allocations: 377.9 MB / 0.6221 GB, free: 8.645 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.MixingVolumeMFactor,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.057e-05, allocations: 10.16 kB / 0.981 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.5767/0.5767, allocations: 185.7 MB / 1.162 GB, free: 3.785 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01233/0.589, allocations: 9.299 MB / 1.171 GB, free: 13.47 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002017/0.591, allocations: 80.44 kB / 1.171 GB, free: 13.43 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001892/0.5929, allocations: 0.7636 MB / 1.172 GB, free: 13 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.006963/0.5999, allocations: 2.991 MB / 1.175 GB, free: 11.36 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.003426/0.6033, allocations: 1.458 MB / 1.177 GB, free: 10.57 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.005677/0.609, allocations: 4.186 MB / 1.181 GB, free: 8.617 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001808/0.6108, allocations: 0.9914 MB / 1.182 GB, free: 8.117 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004687/0.6155, allocations: 2.341 MB / 1.184 GB, free: 7.078 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00255/0.6181, allocations: 1.145 MB / 1.185 GB, free: 6.711 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.000341/0.6184, allocations: 143.3 kB / 1.185 GB, free: 6.711 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004936/0.6233, allocations: 1.98 MB / 1.187 GB, free: 5.973 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0009431/0.6243, allocations: 0.6576 MB / 1.188 GB, free: 5.66 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.001554/0.6258, allocations: 0.6132 MB / 1.188 GB, free: 5.41 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.005816/0.6316, allocations: 3.046 MB / 1.191 GB, free: 4.371 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.6316, allocations: 2.625 kB / 1.191 GB, free: 4.371 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6316, allocations: 1.031 kB / 1.191 GB, free: 4.371 MB / 1.026 GB Notification: Performance of Transformations before backend: time 8.009e-05/0.6317, allocations: 4 kB / 1.191 GB, free: 4.367 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003579/0.6353, allocations: 1.851 MB / 1.193 GB, free: 3.207 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.6354, allocations: 10.38 kB / 1.193 GB, free: 3.207 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002022/0.6356, allocations: 168.2 kB / 1.193 GB, free: 3.098 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001989/0.6375, allocations: 0.4926 MB / 1.194 GB, free: 2.973 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/0.6395, allocations: 1.054 MB / 1.195 GB, free: 2.371 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.674e-05/0.6395, allocations: 83.3 kB / 1.195 GB, free: 2.332 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.6397, allocations: 109.2 kB / 1.195 GB, free: 2.297 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.6416, allocations: 1.61 MB / 1.197 GB, free: 1.273 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/0.6416, allocations: 1.828 kB / 1.197 GB, free: 1.273 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-05/0.6417, allocations: 43.06 kB / 1.197 GB, free: 1.242 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.512e-05/0.6417, allocations: 46.03 kB / 1.197 GB, free: 1.234 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.6432, allocations: 1.071 MB / 1.198 GB, free: 0.8203 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004276/0.6474, allocations: 2.902 MB / 1.201 GB, free: 14.93 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007923/0.6482, allocations: 0.767 MB / 1.201 GB, free: 14.53 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004374/0.6487, allocations: 453.6 kB / 1.202 GB, free: 14.31 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/0.6489, allocations: 66.3 kB / 1.202 GB, free: 14.29 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.6489, allocations: 48.84 kB / 1.202 GB, free: 14.23 MB / 1.042 GB Notification: Performance of pre-optimization done (n=83): time 3.156e-06/0.6489, allocations: 0 / 1.202 GB, free: 14.23 MB / 1.042 GB Notification: Performance of matching and sorting (n=89): time 0.003758/0.6526, allocations: 2.633 MB / 1.204 GB, free: 12.76 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.6527, allocations: 68.39 kB / 1.204 GB, free: 12.69 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000872/0.6536, allocations: 0.9784 MB / 1.205 GB, free: 12.15 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 5.735e-05/0.6536, allocations: 49.92 kB / 1.205 GB, free: 12.1 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004152/0.654, allocations: 0.5454 MB / 1.206 GB, free: 11.62 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/0.6542, allocations: 322.4 kB / 1.206 GB, free: 11.34 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.6544, allocations: 159 kB / 1.206 GB, free: 11.24 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.933e-05/0.6545, allocations: 335.9 kB / 1.207 GB, free: 10.92 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.6548, allocations: 351.4 kB / 1.207 GB, free: 10.74 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004519/0.6553, allocations: 0.5747 MB / 1.208 GB, free: 10.3 MB / 1.042 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003401/0.6587, allocations: 2.808 MB / 1.21 GB, free: 8.883 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.6587, allocations: 2.25 kB / 1.21 GB, free: 8.883 MB / 1.042 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001137/0.6598, allocations: 1.017 MB / 1.211 GB, free: 8.363 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.6598, allocations: 5.906 kB / 1.211 GB, free: 8.363 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.6599, allocations: 6.469 kB / 1.211 GB, free: 8.359 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.6599, allocations: 9.531 kB / 1.211 GB, free: 8.359 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/0.6603, allocations: 183.8 kB / 1.212 GB, free: 8.32 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.6603, allocations: 9.5 kB / 1.212 GB, free: 8.316 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006741/0.661, allocations: 30.2 kB / 1.212 GB, free: 8.301 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.948e-05/0.661, allocations: 31.59 kB / 1.212 GB, free: 8.293 MB / 1.042 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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.0007942/0.6618, allocations: 379.1 kB / 1.212 GB, free: 8.02 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.6619, allocations: 133.3 kB / 1.212 GB, free: 7.953 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.6621, allocations: 150.6 kB / 1.212 GB, free: 7.832 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.6621, allocations: 10.72 kB / 1.212 GB, free: 7.832 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.665e-05/0.6621, allocations: 3.938 kB / 1.212 GB, free: 7.828 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001001/0.6631, allocations: 1.088 MB / 1.213 GB, free: 7.078 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003076/0.6662, allocations: 2.806 MB / 1.216 GB, free: 5.215 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.6662, allocations: 14.72 kB / 1.216 GB, free: 5.211 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000372/0.6666, allocations: 164.9 kB / 1.216 GB, free: 5.172 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002178/0.6668, allocations: 100.2 kB / 1.216 GB, free: 5.117 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.642e-05/0.6669, allocations: 31.45 kB / 1.216 GB, free: 5.102 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.6684, allocations: 2.865 MB / 1.219 GB, free: 2.297 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.6685, allocations: 12.03 kB / 1.219 GB, free: 2.293 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.6702, allocations: 1.732 MB / 1.221 GB, free: 1.113 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004791/0.6707, allocations: 231 kB / 1.221 GB, free: 0.9648 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.993e-05/0.6708, allocations: 31.86 kB / 1.221 GB, free: 0.9492 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004829/0.6713, allocations: 47.14 kB / 1.221 GB, free: 0.9258 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.558e-05/0.6714, allocations: 96.36 kB / 1.221 GB, free: 0.8633 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.472e-05/0.6714, allocations: 42.61 kB / 1.221 GB, free: 0.8555 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.000898/0.6723, allocations: 0.6964 MB / 1.222 GB, free: 472 kB / 1.042 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6723, allocations: 0 / 1.222 GB, free: 472 kB / 1.042 GB Notification: Performance of remove unused functions: time 0.0008193/0.6731, allocations: 381.3 kB / 1.222 GB, free: 432 kB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U) * 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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001917/0.675, allocations: 2.394 MB / 1.225 GB, free: 14.65 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0009608/0.676, allocations: 0.8104 MB / 1.226 GB, free: 14.27 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.676, allocations: 6.875 kB / 1.226 GB, free: 14.27 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0006137/0.6766, allocations: 0.6565 MB / 1.226 GB, free: 13.82 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/0.6791, allocations: 0.9328 MB / 1.227 GB, free: 13.23 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.6892, allocations: 9.589 MB / 1.236 GB, free: 3.203 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005276/0.6898, allocations: 0.6535 MB / 1.237 GB, free: 2.516 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.001111/0.6909, allocations: 347 kB / 1.237 GB, free: 2.172 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007947/0.6917, allocations: 472.3 kB / 1.238 GB, free: 1.711 MB / 1.057 GB Notification: Performance of SimCode: time 1.663e-06/0.6917, allocations: 0 / 1.238 GB, free: 1.711 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05277/0.7444, allocations: 42.4 MB / 1.279 GB, free: 8.215 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.679/8.424, allocations: 12 kB / 1.279 GB, free: 8.203 MB / 1.104 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.289996458217502]