Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006953/0.006953, allocations: 99.25 kB / 15.73 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 198.6 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.378/2.378, allocations: 437.1 MB / 0.7106 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 63.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2386, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.6255/0.8641, allocations: 181.9 MB / 1.344 GB, free: 8.992 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007398/0.8715, allocations: 5.356 MB / 1.349 GB, free: 5.199 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006152/0.8722, allocations: 34.47 kB / 1.349 GB, free: 5.188 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009439/0.8731, allocations: 442.7 kB / 1.35 GB, free: 4.938 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003157/0.8763, allocations: 1.673 MB / 1.351 GB, free: 4.016 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.8779, allocations: 0.8043 MB / 1.352 GB, free: 3.574 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002151/0.88, allocations: 2.195 MB / 1.354 GB, free: 2.574 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007609/0.8808, allocations: 0.6953 MB / 1.355 GB, free: 2.254 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008897/0.8817, allocations: 0.7348 MB / 1.355 GB, free: 1.918 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/0.8831, allocations: 0.6751 MB / 1.356 GB, free: 1.641 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.8832, allocations: 79.16 kB / 1.356 GB, free: 1.637 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002146/0.8854, allocations: 1.398 MB / 1.358 GB, free: 1.078 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002891/0.8856, allocations: 326.2 kB / 1.358 GB, free: 0.9375 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004397/0.8861, allocations: 471.9 kB / 1.358 GB, free: 0.6641 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001802/0.8879, allocations: 1.669 MB / 1.36 GB, free: 76 kB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.8879, allocations: 0 / 1.36 GB, free: 76 kB / 1.029 GB Notification: Performance of FrontEnd: time 9.21e-07/0.8879, allocations: 0 / 1.36 GB, free: 76 kB / 1.029 GB Notification: Performance of Transformations before backend: time 9.819e-06/0.8879, allocations: 1.125 kB / 1.36 GB, free: 76 kB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001633/0.8896, allocations: 1.208 MB / 1.361 GB, free: 15.21 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.8896, allocations: 9.125 kB / 1.361 GB, free: 15.21 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/0.8897, allocations: 104.3 kB / 1.361 GB, free: 15.13 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/0.8913, allocations: 274.4 kB / 1.362 GB, free: 15.07 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009549/0.8923, allocations: 0.7174 MB / 1.362 GB, free: 14.61 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.8923, allocations: 49.44 kB / 1.362 GB, free: 14.59 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.194e-05/0.8924, allocations: 59.66 kB / 1.362 GB, free: 14.57 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008781/0.8933, allocations: 0.5824 MB / 1.363 GB, free: 14.33 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.8933, allocations: 4 kB / 1.363 GB, free: 14.33 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.574e-05/0.8934, allocations: 25.66 kB / 1.363 GB, free: 14.31 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.8934, allocations: 23.67 kB / 1.363 GB, free: 14.31 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008068/0.8942, allocations: 0.4997 MB / 1.363 GB, free: 14.07 MB / 1.045 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.002854/0.8971, allocations: 2.392 MB / 1.366 GB, free: 12.05 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007237/0.8978, allocations: 425.8 kB / 1.366 GB, free: 11.82 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/0.8982, allocations: 226.1 kB / 1.366 GB, free: 11.71 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001577/0.8983, allocations: 99.75 kB / 1.366 GB, free: 11.61 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.8984, allocations: 37.69 kB / 1.367 GB, free: 11.57 MB / 1.045 GB Notification: Performance of pre-optimization done (n=43): time 1.432e-06/0.8984, allocations: 1.031 kB / 1.367 GB, free: 11.57 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.00249/0.9009, allocations: 1.46 MB / 1.368 GB, free: 10.65 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.9009, allocations: 56.25 kB / 1.368 GB, free: 10.59 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000522/0.9014, allocations: 0.5384 MB / 1.369 GB, free: 10.27 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/0.9015, allocations: 40.56 kB / 1.369 GB, free: 10.22 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.9017, allocations: 328.5 kB / 1.369 GB, free: 9.938 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.9019, allocations: 174.3 kB / 1.369 GB, free: 9.785 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.902, allocations: 94.17 kB / 1.369 GB, free: 9.723 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.9022, allocations: 374.7 kB / 1.369 GB, free: 9.363 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/0.9025, allocations: 173.3 kB / 1.37 GB, free: 9.277 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/0.9028, allocations: 258.1 kB / 1.37 GB, free: 9.105 MB / 1.045 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.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: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003065/0.9059, allocations: 1.45 MB / 1.371 GB, free: 8.246 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.9059, allocations: 0 / 1.371 GB, free: 8.246 MB / 1.045 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00076/0.9067, allocations: 0.5291 MB / 1.372 GB, free: 7.965 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.9067, allocations: 5.5 kB / 1.372 GB, free: 7.965 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.9067, allocations: 1.375 kB / 1.372 GB, free: 7.965 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.9067, allocations: 4.125 kB / 1.372 GB, free: 7.965 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003663/0.9071, allocations: 91.69 kB / 1.372 GB, free: 7.949 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.9071, allocations: 6.75 kB / 1.372 GB, free: 7.945 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004957/0.9076, allocations: 25.48 kB / 1.372 GB, free: 7.93 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/0.9077, allocations: 24.25 kB / 1.372 GB, free: 7.918 MB / 1.045 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * 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.0002649/0.9079, allocations: 242.2 kB / 1.372 GB, free: 7.727 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.767e-05/0.908, allocations: 70.8 kB / 1.372 GB, free: 7.691 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.9082, allocations: 84.39 kB / 1.372 GB, free: 7.625 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.9082, allocations: 4.75 kB / 1.372 GB, free: 7.625 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.9082, allocations: 2.094 kB / 1.372 GB, free: 7.625 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006587/0.9089, allocations: 0.5155 MB / 1.373 GB, free: 7.277 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/0.9109, allocations: 1.592 MB / 1.374 GB, free: 6.07 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.9109, allocations: 5.219 kB / 1.374 GB, free: 6.07 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004583/0.9114, allocations: 109.5 kB / 1.375 GB, free: 6.051 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.9114, allocations: 8.312 kB / 1.375 GB, free: 6.051 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.394e-05/0.9114, allocations: 20.14 kB / 1.375 GB, free: 6.039 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-06/0.9115, allocations: 15.44 kB / 1.375 GB, free: 6.031 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.9115, allocations: 9.062 kB / 1.375 GB, free: 6.027 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.9125, allocations: 0.9048 MB / 1.375 GB, free: 5.379 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/0.9128, allocations: 196.2 kB / 1.376 GB, free: 5.207 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.105e-05/0.9129, allocations: 22.52 kB / 1.376 GB, free: 5.195 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004639/0.9133, allocations: 20.81 kB / 1.376 GB, free: 5.184 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.602e-05/0.9134, allocations: 50.77 kB / 1.376 GB, free: 5.152 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/0.9135, allocations: 26.05 kB / 1.376 GB, free: 5.145 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003827/0.9138, allocations: 398.8 kB / 1.376 GB, free: 4.914 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9138, allocations: 0 / 1.376 GB, free: 4.914 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005175/0.9144, allocations: 200.8 kB / 1.376 GB, free: 4.895 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.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 (49): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001591/0.916, allocations: 1.528 MB / 1.378 GB, free: 3.672 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006608/0.9166, allocations: 447.4 kB / 1.378 GB, free: 3.469 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.9167, allocations: 0 / 1.378 GB, free: 3.469 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003159/0.917, allocations: 234.9 kB / 1.378 GB, free: 3.363 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/0.9189, allocations: 497.8 kB / 1.379 GB, free: 3.117 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006093/0.925, allocations: 5.494 MB / 1.384 GB, free: 15.37 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005208/0.9255, allocations: 0.9752 MB / 1.385 GB, free: 14.53 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004386/0.926, allocations: 166.4 kB / 1.385 GB, free: 14.45 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003224/0.9263, allocations: 250.9 kB / 1.386 GB, free: 14.26 MB / 1.061 GB Notification: Performance of SimCode: time 2.6e-07/0.9263, allocations: 0 / 1.386 GB, free: 14.26 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.239/4.165, allocations: 20.37 MB / 1.406 GB, free: 15.14 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.6/21.77, allocations: 6.203 kB / 1.406 GB, free: 15.14 MB / 1.076 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches