Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.001196/0.001196, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008581/0.0008581, 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.9327/0.9327, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.702/1.702, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.MixingVolumeZeroFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.32e-05, allocations: 5.516 kB / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.03303/0.03306, allocations: 45.47 MB / 0.9949 GB, free: 5.859 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01434/0.0474, allocations: 11.89 MB / 1.007 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003584/0.05098, allocations: 107.1 kB / 1.007 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.002074/0.05306, allocations: 0.7679 MB / 1.007 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.005096/0.05815, allocations: 2 MB / 1.009 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002924/0.06108, allocations: 1.43 MB / 1.011 GB, free: 5.637 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.003635/0.06471, allocations: 3.345 MB / 1.014 GB, free: 2.281 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.06597, allocations: 0.9581 MB / 1.015 GB, free: 1.285 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002741/0.06871, allocations: 1.737 MB / 1.017 GB, free: 15.56 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009378/0.06965, allocations: 0.8175 MB / 1.017 GB, free: 14.74 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.06978, allocations: 96 kB / 1.018 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001709/0.07149, allocations: 0.9156 MB / 1.018 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0002183/0.07171, allocations: 314.5 kB / 1.019 GB, free: 13.42 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0004165/0.07213, allocations: 462.7 kB / 1.019 GB, free: 12.96 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.002443/0.07457, allocations: 2.021 MB / 1.021 GB, free: 10.94 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.07458, allocations: 0 / 1.021 GB, free: 10.94 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.114e-06/0.07458, allocations: 0 / 1.021 GB, free: 10.94 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 3.173e-05/0.07461, allocations: 0 / 1.021 GB, free: 10.94 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002196/0.07681, allocations: 1.669 MB / 1.023 GB, free: 9.23 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.07686, allocations: 12.03 kB / 1.023 GB, free: 9.219 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001299/0.07699, allocations: 135.4 kB / 1.023 GB, free: 9.078 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005058/0.0775, allocations: 223.9 kB / 1.023 GB, free: 8.859 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.07902, allocations: 1.038 MB / 1.024 GB, free: 7.773 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.764e-05/0.07907, allocations: 66.38 kB / 1.024 GB, free: 7.707 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.51e-05/0.07914, allocations: 84.38 kB / 1.024 GB, free: 7.625 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.08051, allocations: 1.133 MB / 1.025 GB, free: 6.383 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.08053, allocations: 0 / 1.025 GB, free: 6.383 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.783e-05/0.08059, allocations: 36 kB / 1.025 GB, free: 6.348 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.0806, allocations: 27.94 kB / 1.025 GB, free: 6.32 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.08161, allocations: 0.6516 MB / 1.026 GB, free: 5.668 MB / 0.9792 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.003805/0.08541, allocations: 3.92 MB / 1.03 GB, free: 1.613 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000711/0.08613, allocations: 382.5 kB / 1.03 GB, free: 1.23 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.08642, allocations: 204.7 kB / 1.03 GB, free: 1.027 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002957/0.08672, allocations: 107.9 kB / 1.031 GB, free: 0.9219 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.08675, allocations: 38.5 kB / 1.031 GB, free: 0.875 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=29): time 3.506e-06/0.08675, allocations: 0 / 1.031 GB, free: 0.875 MB / 0.9792 GB Notification: Performance of matching and sorting (n=29): time 0.001607/0.08836, allocations: 0.8517 MB / 1.031 GB, free: 8 kB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.0884, allocations: 55.41 kB / 1.031 GB, free: 15.94 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009983/0.0894, allocations: 0.9913 MB / 1.032 GB, free: 14.94 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.487e-05/0.08944, allocations: 33.7 kB / 1.032 GB, free: 14.9 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/0.08974, allocations: 0.594 MB / 1.033 GB, free: 14.3 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 7.712e-05/0.08982, allocations: 115 kB / 1.033 GB, free: 14.19 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.08993, allocations: 110.1 kB / 1.033 GB, free: 14.07 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.301e-05/0.09001, allocations: 337.8 kB / 1.034 GB, free: 13.74 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.09031, allocations: 196.8 kB / 1.034 GB, free: 13.55 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004265/0.09073, allocations: 0.5439 MB / 1.034 GB, free: 12.88 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006771/0.09141, allocations: 0.6096 MB / 1.035 GB, free: 12.18 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.09142, allocations: 8.062 kB / 1.035 GB, free: 12.17 MB / 0.9948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009688/0.09238, allocations: 0.7525 MB / 1.036 GB, free: 11.4 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.0924, allocations: 12.83 kB / 1.036 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.09241, allocations: 4 kB / 1.036 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004125/0.09283, allocations: 154.5 kB / 1.036 GB, free: 11.23 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003199/0.09315, allocations: 151.8 kB / 1.036 GB, free: 11.08 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007525/0.0939, allocations: 1.712 MB / 1.038 GB, free: 9.289 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004057/0.0943, allocations: 91.47 kB / 1.038 GB, free: 9.199 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.059e-05/0.09434, allocations: 32.17 kB / 1.038 GB, free: 9.168 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * 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,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003415/0.09469, allocations: 270.4 kB / 1.038 GB, free: 8.895 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.09479, allocations: 115.4 kB / 1.038 GB, free: 8.781 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.09595, allocations: 0.7314 MB / 1.039 GB, free: 8.023 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.09597, allocations: 11.98 kB / 1.039 GB, free: 8.012 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.09597, allocations: 3.938 kB / 1.039 GB, free: 8.008 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.09598, allocations: 0 / 1.039 GB, free: 8.008 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.09773, allocations: 1.541 MB / 1.04 GB, free: 6.395 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.09774, allocations: 0 / 1.04 GB, free: 6.395 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/0.09799, allocations: 91.83 kB / 1.04 GB, free: 6.305 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003027/0.0983, allocations: 146.5 kB / 1.041 GB, free: 6.152 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.09832, allocations: 11.98 kB / 1.041 GB, free: 6.141 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007152/0.09903, allocations: 1.704 MB / 1.042 GB, free: 4.359 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.09904, allocations: 3.938 kB / 1.042 GB, free: 4.355 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008853/0.09992, allocations: 0.7847 MB / 1.043 GB, free: 3.527 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/0.1002, allocations: 179 kB / 1.043 GB, free: 3.352 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.344e-05/0.1003, allocations: 11.98 kB / 1.043 GB, free: 3.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002945/0.1006, allocations: 39.95 kB / 1.043 GB, free: 3.301 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.533e-05/0.1007, allocations: 39.83 kB / 1.043 GB, free: 3.262 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.1007, allocations: 19.98 kB / 1.043 GB, free: 3.242 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000636/0.1013, allocations: 0.666 MB / 1.044 GB, free: 2.57 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1013, allocations: 0 / 1.044 GB, free: 2.57 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0008722/0.1022, allocations: 386.9 kB / 1.044 GB, free: 2.191 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0018/0.104, allocations: 1.62 MB / 1.046 GB, free: 0.5156 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.4133/0.5173, allocations: 0.5299 MB / 1.046 GB, free: 135.1 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/0.5173, allocations: 0 / 1.046 GB, free: 135.1 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.000662/0.518, allocations: 280.1 kB / 1.047 GB, free: 135.1 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/0.5195, allocations: 0.5254 MB / 1.047 GB, free: 135.1 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006687/0.5262, allocations: 7.324 MB / 1.054 GB, free: 131.9 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.5265, allocations: 0.5165 MB / 1.055 GB, free: 131.8 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0005758/0.5271, allocations: 180.7 kB / 1.055 GB, free: 131.8 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/0.5274, allocations: 417.7 kB / 1.055 GB, free: 131.4 MB / 0.9948 GB Notification: Performance of SimCode: time 1.583e-06/0.5274, allocations: 0 / 1.055 GB, free: 131.4 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05276/0.5801, allocations: 31.93 MB / 1.087 GB, free: 127.6 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.904/9.484, allocations: 10.83 kB / 1.087 GB, free: 127.5 MB / 0.9948 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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: 13.718177479691803]