Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.001805/0.001805, allocations: 106.6 kB / 16.45 MB, free: 6.508 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.002224/0.002224, allocations: 196.6 kB / 19.41 MB, free: 3.676 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.469/1.469, allocations: 225.6 MB / 247.8 MB, free: 13.97 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.244/3.244, allocations: 497.2 MB / 0.7811 GB, free: 33.63 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.MixingVolumeZeroFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 68.33 kB / 1.134 GB, free: 33.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3431, allocations: 173.9 MB / 1.304 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.06638/0.4095, allocations: 50.24 MB / 1.353 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02369/0.4332, allocations: 12.72 MB / 1.365 GB, free: 2.363 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003488/0.4367, allocations: 83.44 kB / 1.366 GB, free: 2.281 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002588/0.4393, allocations: 0.7799 MB / 1.366 GB, free: 1.496 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00634/0.4456, allocations: 1.932 MB / 1.368 GB, free: 15.55 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004818/0.4504, allocations: 1.363 MB / 1.37 GB, free: 14.21 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005878/0.4563, allocations: 3.233 MB / 1.373 GB, free: 10.96 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002033/0.4583, allocations: 1.04 MB / 1.374 GB, free: 9.887 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004236/0.4626, allocations: 1.486 MB / 1.375 GB, free: 8.406 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001927/0.4645, allocations: 0.9642 MB / 1.376 GB, free: 7.438 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002867/0.4648, allocations: 99.94 kB / 1.376 GB, free: 7.34 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002524/0.4673, allocations: 1.08 MB / 1.377 GB, free: 6.258 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000417/0.4677, allocations: 302.6 kB / 1.378 GB, free: 5.961 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00098/0.4687, allocations: 0.6761 MB / 1.378 GB, free: 5.281 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003584/0.4723, allocations: 1.961 MB / 1.38 GB, free: 3.312 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4723, allocations: 4 kB / 1.38 GB, free: 3.309 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4723, allocations: 0 / 1.38 GB, free: 3.309 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.86e-05/0.4723, allocations: 0 / 1.38 GB, free: 3.309 MB / 1.076 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.002897/0.4752, allocations: 1.746 MB / 1.382 GB, free: 1.504 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.4753, allocations: 8.922 kB / 1.382 GB, free: 1.496 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001681/0.4754, allocations: 139.4 kB / 1.382 GB, free: 1.352 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006459/0.4761, allocations: 211.9 kB / 1.382 GB, free: 1.145 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002291/0.4784, allocations: 1.12 MB / 1.383 GB, free: 15.97 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.998e-05/0.4784, allocations: 70.12 kB / 1.383 GB, free: 15.91 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.4785, allocations: 80 kB / 1.383 GB, free: 15.83 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.4804, allocations: 0.9996 MB / 1.384 GB, free: 14.75 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.4804, allocations: 7.938 kB / 1.384 GB, free: 14.74 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.567e-05/0.4805, allocations: 36 kB / 1.384 GB, free: 14.7 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/0.4805, allocations: 24 kB / 1.384 GB, free: 14.68 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/0.4819, allocations: 0.6516 MB / 1.385 GB, free: 14.03 MB / 1.092 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.005898/0.4878, allocations: 4.729 MB / 1.39 GB, free: 9.027 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.489, allocations: 378.5 kB / 1.39 GB, free: 8.648 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005078/0.4895, allocations: 205.2 kB / 1.39 GB, free: 8.445 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/0.4905, allocations: 1.144 MB / 1.391 GB, free: 7.043 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.4905, allocations: 38.56 kB / 1.391 GB, free: 6.996 MB / 1.092 GB Notification: Performance of pre-optimization done (n=29): time 2.094e-06/0.4905, allocations: 0 / 1.391 GB, free: 6.996 MB / 1.092 GB Notification: Performance of matching and sorting (n=29): time 0.003013/0.4936, allocations: 1.082 MB / 1.392 GB, free: 5.844 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.4936, allocations: 63.34 kB / 1.393 GB, free: 5.77 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.495, allocations: 0.9715 MB / 1.393 GB, free: 4.785 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.775e-05/0.4951, allocations: 29.7 kB / 1.393 GB, free: 4.75 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005301/0.4956, allocations: 0.5978 MB / 1.394 GB, free: 4.148 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.4957, allocations: 111 kB / 1.394 GB, free: 4.039 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.4959, allocations: 114.1 kB / 1.394 GB, free: 3.922 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.4961, allocations: 322 kB / 1.395 GB, free: 3.602 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005549/0.4966, allocations: 205 kB / 1.395 GB, free: 3.398 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007353/0.4974, allocations: 402.3 kB / 1.395 GB, free: 2.918 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.4986, allocations: 0.6018 MB / 1.396 GB, free: 2.227 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.4986, allocations: 0 / 1.396 GB, free: 2.227 MB / 1.092 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001909/0.5005, allocations: 0.7606 MB / 1.397 GB, free: 1.449 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.5005, allocations: 11.94 kB / 1.397 GB, free: 1.438 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.5005, allocations: 12.78 kB / 1.397 GB, free: 1.426 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000736/0.5013, allocations: 170.4 kB / 1.397 GB, free: 1.25 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006304/0.5019, allocations: 147.8 kB / 1.397 GB, free: 1.105 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.5034, allocations: 1.712 MB / 1.399 GB, free: 15.32 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007989/0.5042, allocations: 91.47 kB / 1.399 GB, free: 15.23 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.226e-05/0.5043, allocations: 28 kB / 1.399 GB, free: 15.2 MB / 1.107 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.0004936/0.5047, allocations: 273.7 kB / 1.399 GB, free: 14.92 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002275/0.505, allocations: 115.2 kB / 1.399 GB, free: 14.81 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001886/0.5069, allocations: 0.7118 MB / 1.4 GB, free: 14.08 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/0.5069, allocations: 11.94 kB / 1.4 GB, free: 14.07 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.5069, allocations: 0 / 1.4 GB, free: 14.07 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.5069, allocations: 3.984 kB / 1.4 GB, free: 14.06 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00332/0.5102, allocations: 1.633 MB / 1.401 GB, free: 12.35 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.5102, allocations: 0 / 1.401 GB, free: 12.35 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005168/0.5107, allocations: 96.03 kB / 1.401 GB, free: 12.26 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006375/0.5114, allocations: 146.4 kB / 1.402 GB, free: 12.11 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.5114, allocations: 8 kB / 1.402 GB, free: 12.1 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/0.5128, allocations: 1.708 MB / 1.403 GB, free: 10.31 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.806e-06/0.5128, allocations: 8.156 kB / 1.403 GB, free: 10.3 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.5147, allocations: 0.7805 MB / 1.404 GB, free: 9.48 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007169/0.5154, allocations: 256.2 kB / 1.404 GB, free: 9.211 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002415/0.5156, allocations: 8 kB / 1.404 GB, free: 9.203 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006981/0.5163, allocations: 47.95 kB / 1.404 GB, free: 9.156 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.459e-05/0.5164, allocations: 31.89 kB / 1.404 GB, free: 9.125 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.55e-05/0.5165, allocations: 19.98 kB / 1.404 GB, free: 9.105 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001094/0.5176, allocations: 0.6619 MB / 1.405 GB, free: 8.438 MB / 1.107 GB Notification: Performance of sort global known variables: time 9e-08/0.5176, allocations: 0 / 1.405 GB, free: 8.438 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001204/0.5188, allocations: 378.9 kB / 1.405 GB, free: 8.066 MB / 1.107 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.0032/0.522, allocations: 1.625 MB / 1.407 GB, free: 6.391 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001792/0.5238, allocations: 0.5401 MB / 1.407 GB, free: 5.852 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.5238, allocations: 0 / 1.407 GB, free: 5.852 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0008534/0.5246, allocations: 284 kB / 1.408 GB, free: 5.574 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002827/0.5275, allocations: 0.5233 MB / 1.408 GB, free: 5.066 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/0.5407, allocations: 7.315 MB / 1.415 GB, free: 13.41 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.5417, allocations: 1.103 MB / 1.416 GB, free: 12.28 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0008532/0.5426, allocations: 192.2 kB / 1.417 GB, free: 12.09 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006464/0.5432, allocations: 411.3 kB / 1.417 GB, free: 11.68 MB / 1.123 GB Notification: Performance of SimCode: time 1.352e-06/0.5432, allocations: 3.938 kB / 1.417 GB, free: 11.68 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06999/0.6132, allocations: 29.67 MB / 1.446 GB, free: 14.46 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.02/14.64, allocations: 15.42 kB / 1.446 GB, free: 14.45 MB / 1.154 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 21.6297725928016]