Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.001865/0.001865, allocations: 97.92 kB / 19.73 MB, free: 2.133 MB / 14.72 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.002269/0.002269, allocations: 219.6 kB / 23.03 MB, free: 4.945 MB / 14.72 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 1.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.937/2.937, allocations: 476.8 MB / 0.7715 GB, free: 3.918 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 62.92 kB / 1.118 GB, free: 39.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4206, allocations: 170 MB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2294/0.65, allocations: 160.5 MB / 1.441 GB, free: 9.621 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01135/0.6613, allocations: 5.044 MB / 1.446 GB, free: 4.57 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/0.6631, allocations: 47.62 kB / 1.446 GB, free: 4.523 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001704/0.6648, allocations: 437.4 kB / 1.446 GB, free: 4.094 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005779/0.6705, allocations: 1.75 MB / 1.448 GB, free: 2.336 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002836/0.6734, allocations: 0.8248 MB / 1.449 GB, free: 1.516 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004495/0.6779, allocations: 2.275 MB / 1.451 GB, free: 15.23 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00156/0.6794, allocations: 0.549 MB / 1.451 GB, free: 14.67 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002298/0.6817, allocations: 0.7862 MB / 1.452 GB, free: 13.88 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002588/0.6843, allocations: 0.7443 MB / 1.453 GB, free: 13.15 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003112/0.6846, allocations: 76 kB / 1.453 GB, free: 13.07 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003148/0.6878, allocations: 1.176 MB / 1.454 GB, free: 11.89 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006428/0.6884, allocations: 331 kB / 1.455 GB, free: 11.57 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000952/0.6894, allocations: 390.3 kB / 1.455 GB, free: 11.19 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003555/0.6929, allocations: 1.635 MB / 1.456 GB, free: 9.547 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.6929, allocations: 0 / 1.456 GB, free: 9.547 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6929, allocations: 0 / 1.456 GB, free: 9.547 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.161e-05/0.693, allocations: 0 / 1.456 GB, free: 9.547 MB / 1.154 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.00267/0.6956, allocations: 1.131 MB / 1.458 GB, free: 8.379 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.6957, allocations: 12.03 kB / 1.458 GB, free: 8.367 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.647e-05/0.6957, allocations: 13.31 kB / 1.458 GB, free: 8.355 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001802/0.6959, allocations: 106.5 kB / 1.458 GB, free: 8.242 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002179/0.6981, allocations: 283.1 kB / 1.458 GB, free: 7.965 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.6996, allocations: 0.6345 MB / 1.459 GB, free: 7.305 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.927e-05/0.6997, allocations: 53.23 kB / 1.459 GB, free: 7.254 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.6998, allocations: 63.89 kB / 1.459 GB, free: 7.191 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.7012, allocations: 0.7851 MB / 1.459 GB, free: 6.348 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.7012, allocations: 0 / 1.459 GB, free: 6.348 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.207e-05/0.7013, allocations: 24 kB / 1.46 GB, free: 6.324 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-05/0.7013, allocations: 21.31 kB / 1.46 GB, free: 6.305 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.7024, allocations: 0.497 MB / 1.46 GB, free: 5.809 MB / 1.154 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.003777/0.7062, allocations: 1.59 MB / 1.462 GB, free: 4.168 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009366/0.7071, allocations: 410.8 kB / 1.462 GB, free: 3.758 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004675/0.7076, allocations: 211.4 kB / 1.462 GB, free: 3.551 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001754/0.7078, allocations: 23.98 kB / 1.462 GB, free: 3.527 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.7078, allocations: 38.56 kB / 1.462 GB, free: 3.48 MB / 1.154 GB Notification: Performance of pre-optimization done (n=43): time 3.858e-06/0.7078, allocations: 4 kB / 1.462 GB, free: 3.477 MB / 1.154 GB Notification: Performance of matching and sorting (n=48): time 0.003671/0.7115, allocations: 1.365 MB / 1.464 GB, free: 2.078 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.7115, allocations: 55.84 kB / 1.464 GB, free: 2.012 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008124/0.7123, allocations: 0.546 MB / 1.464 GB, free: 1.453 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.467e-05/0.7124, allocations: 37.7 kB / 1.464 GB, free: 1.41 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/0.7127, allocations: 337.1 kB / 1.465 GB, free: 1.078 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002354/0.713, allocations: 178.4 kB / 1.465 GB, free: 0.9023 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.7132, allocations: 90.19 kB / 1.465 GB, free: 0.8086 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002376/0.7134, allocations: 370.8 kB / 1.465 GB, free: 448 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003672/0.7138, allocations: 176.9 kB / 1.465 GB, free: 272 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005209/0.7143, allocations: 355 kB / 1.466 GB, free: 15.87 MB / 1.17 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.003806/0.7181, allocations: 1.309 MB / 1.467 GB, free: 14.55 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7181, allocations: 0 / 1.467 GB, free: 14.55 MB / 1.17 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001158/0.7192, allocations: 0.5268 MB / 1.467 GB, free: 14.01 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.7193, allocations: 12.16 kB / 1.467 GB, free: 14 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.7193, allocations: 0 / 1.467 GB, free: 14 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.7193, allocations: 4 kB / 1.467 GB, free: 14 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004662/0.7198, allocations: 95.89 kB / 1.468 GB, free: 13.9 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.7198, allocations: 7.938 kB / 1.468 GB, free: 13.89 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007363/0.7205, allocations: 31.06 kB / 1.468 GB, free: 13.87 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.287e-05/0.7206, allocations: 16 kB / 1.468 GB, free: 13.85 MB / 1.17 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.0004861/0.7211, allocations: 248.5 kB / 1.468 GB, free: 13.6 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.7212, allocations: 67.58 kB / 1.468 GB, free: 13.54 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.7214, allocations: 86.45 kB / 1.468 GB, free: 13.45 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.7214, allocations: 4 kB / 1.468 GB, free: 13.45 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.7214, allocations: 0 / 1.468 GB, free: 13.45 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009039/0.7223, allocations: 0.5183 MB / 1.468 GB, free: 12.89 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002934/0.7253, allocations: 1.436 MB / 1.47 GB, free: 11.35 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.036e-06/0.7253, allocations: 4 kB / 1.47 GB, free: 11.34 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000597/0.7259, allocations: 111.9 kB / 1.47 GB, free: 11.23 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.25e-05/0.7259, allocations: 4 kB / 1.47 GB, free: 11.23 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.177e-05/0.7259, allocations: 24.61 kB / 1.47 GB, free: 11.21 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.244e-05/0.726, allocations: 11.88 kB / 1.47 GB, free: 11.2 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.726, allocations: 12 kB / 1.47 GB, free: 11.18 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.7275, allocations: 0.9139 MB / 1.471 GB, free: 10.19 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004645/0.728, allocations: 119.6 kB / 1.471 GB, free: 10.07 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.7281, allocations: 16 kB / 1.471 GB, free: 10.06 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005888/0.7287, allocations: 23.92 kB / 1.471 GB, free: 10.04 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.7288, allocations: 47.81 kB / 1.471 GB, free: 9.988 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.771e-05/0.7288, allocations: 24 kB / 1.471 GB, free: 9.965 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006512/0.7295, allocations: 398.8 kB / 1.472 GB, free: 9.578 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.7295, allocations: 0 / 1.472 GB, free: 9.578 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000861/0.7303, allocations: 200 kB / 1.472 GB, free: 9.383 MB / 1.17 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.002142/0.7325, allocations: 1.521 MB / 1.473 GB, free: 7.773 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001022/0.7335, allocations: 425.2 kB / 1.474 GB, free: 7.355 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/0.7335, allocations: 3.938 kB / 1.474 GB, free: 7.352 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0004304/0.7339, allocations: 232.1 kB / 1.474 GB, free: 7.125 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/0.7366, allocations: 490.8 kB / 1.474 GB, free: 6.656 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009788/0.7464, allocations: 5.482 MB / 1.48 GB, free: 0.9375 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000514/0.7469, allocations: 387 kB / 1.48 GB, free: 0.5312 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0007863/0.7477, allocations: 161.8 kB / 1.48 GB, free: 380 kB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004831/0.7482, allocations: 247.4 kB / 1.48 GB, free: 132 kB / 1.17 GB Notification: Performance of SimCode: time 8.82e-07/0.7482, allocations: 0 / 1.48 GB, free: 132 kB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05907/0.8072, allocations: 22.36 MB / 1.502 GB, free: 10.37 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/14.35, allocations: 2.5 kB / 1.502 GB, free: 10.37 MB / 1.201 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.605047716991976]