Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001268/0.001268, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.00135/0.00135, allocations: 222.5 kB / 22.25 MB, free: 5.258 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.356/1.356, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.912/2.912, allocations: 0.49 GB / 0.7951 GB, free: 35.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.MixingVolumeZeroFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",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.001909/0.001909, allocations: 67.28 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2946, allocations: 176.1 MB / 1.326 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05238/0.347, allocations: 45.89 MB / 1.371 GB, free: 3.414 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02031/0.3673, allocations: 11.87 MB / 1.382 GB, free: 7.52 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002274/0.3696, allocations: 111.1 kB / 1.382 GB, free: 7.41 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002018/0.3716, allocations: 0.7565 MB / 1.383 GB, free: 6.648 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005034/0.3766, allocations: 1.95 MB / 1.385 GB, free: 4.691 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003452/0.3801, allocations: 1.404 MB / 1.386 GB, free: 3.301 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004394/0.3845, allocations: 3.307 MB / 1.39 GB, free: 15.98 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001576/0.3861, allocations: 0.9815 MB / 1.391 GB, free: 14.96 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003374/0.3894, allocations: 1.539 MB / 1.392 GB, free: 13.43 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.3908, allocations: 0.968 MB / 1.393 GB, free: 12.46 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.391, allocations: 100 kB / 1.393 GB, free: 12.36 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001939/0.3929, allocations: 0.9045 MB / 1.394 GB, free: 11.46 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003863/0.3933, allocations: 310.6 kB / 1.394 GB, free: 11.15 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006513/0.3939, allocations: 0.5403 MB / 1.395 GB, free: 10.61 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002829/0.3968, allocations: 2.039 MB / 1.397 GB, free: 8.562 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3968, allocations: 0 / 1.397 GB, free: 8.562 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3968, allocations: 0 / 1.397 GB, free: 8.562 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.818e-05/0.3968, allocations: 0 / 1.397 GB, free: 8.562 MB / 1.092 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.002737/0.3995, allocations: 1.671 MB / 1.398 GB, free: 6.852 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.3996, allocations: 12.03 kB / 1.398 GB, free: 6.84 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002092/0.3998, allocations: 139.4 kB / 1.399 GB, free: 6.695 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006971/0.4005, allocations: 227.9 kB / 1.399 GB, free: 6.473 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002329/0.4028, allocations: 1.025 MB / 1.4 GB, free: 5.398 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.981e-05/0.4029, allocations: 70.06 kB / 1.4 GB, free: 5.332 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.403, allocations: 80 kB / 1.4 GB, free: 5.254 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.4049, allocations: 1.133 MB / 1.401 GB, free: 4.008 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.405, allocations: 7.938 kB / 1.401 GB, free: 4 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.877e-05/0.405, allocations: 39.94 kB / 1.401 GB, free: 3.961 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.4051, allocations: 20 kB / 1.401 GB, free: 3.941 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/0.4066, allocations: 0.6555 MB / 1.402 GB, free: 3.285 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.005562/0.4122, allocations: 3.928 MB / 1.406 GB, free: 15.22 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.4132, allocations: 382.5 kB / 1.406 GB, free: 14.84 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004967/0.4137, allocations: 204.7 kB / 1.406 GB, free: 14.63 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004058/0.4141, allocations: 95.92 kB / 1.406 GB, free: 14.54 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.4142, allocations: 38.56 kB / 1.406 GB, free: 14.49 MB / 1.107 GB Notification: Performance of pre-optimization done (n=29): time 2.615e-06/0.4142, allocations: 3.938 kB / 1.406 GB, free: 14.49 MB / 1.107 GB Notification: Performance of matching and sorting (n=29): time 0.002692/0.4169, allocations: 0.8517 MB / 1.407 GB, free: 13.62 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.417, allocations: 59.34 kB / 1.407 GB, free: 13.55 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.4182, allocations: 0.9949 MB / 1.408 GB, free: 12.54 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/0.4183, allocations: 29.7 kB / 1.408 GB, free: 12.51 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005458/0.4188, allocations: 0.5979 MB / 1.409 GB, free: 11.91 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.4189, allocations: 107.1 kB / 1.409 GB, free: 11.8 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.4191, allocations: 114 kB / 1.409 GB, free: 11.68 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4192, allocations: 326 kB / 1.409 GB, free: 11.36 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005162/0.4198, allocations: 200.8 kB / 1.409 GB, free: 11.16 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008115/0.4206, allocations: 0.5507 MB / 1.41 GB, free: 10.49 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.4219, allocations: 0.5982 MB / 1.411 GB, free: 9.801 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.4219, allocations: 4 kB / 1.411 GB, free: 9.797 MB / 1.107 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001772/0.4237, allocations: 0.7487 MB / 1.411 GB, free: 9.031 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.4237, allocations: 10.25 kB / 1.411 GB, free: 9.023 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.4237, allocations: 8 kB / 1.411 GB, free: 9.016 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006929/0.4244, allocations: 166.4 kB / 1.412 GB, free: 8.844 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000599/0.425, allocations: 147.8 kB / 1.412 GB, free: 8.699 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.4263, allocations: 1.716 MB / 1.413 GB, free: 6.906 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006544/0.4269, allocations: 83.52 kB / 1.413 GB, free: 6.824 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.742e-05/0.427, allocations: 32.25 kB / 1.413 GB, free: 6.793 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.0004235/0.4274, allocations: 273.6 kB / 1.414 GB, free: 6.516 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/0.4276, allocations: 119.2 kB / 1.414 GB, free: 6.398 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001841/0.4294, allocations: 0.7276 MB / 1.415 GB, free: 5.648 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.4294, allocations: 11.88 kB / 1.415 GB, free: 5.637 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4294, allocations: 0 / 1.415 GB, free: 5.637 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.4294, allocations: 7.984 kB / 1.415 GB, free: 5.629 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00294/0.4324, allocations: 1.538 MB / 1.416 GB, free: 4.02 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.4324, allocations: 4 kB / 1.416 GB, free: 4.016 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004496/0.4328, allocations: 79.91 kB / 1.416 GB, free: 3.938 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005792/0.4334, allocations: 158.4 kB / 1.416 GB, free: 3.773 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.4335, allocations: 8 kB / 1.416 GB, free: 3.766 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/0.4347, allocations: 1.704 MB / 1.418 GB, free: 1.984 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.4347, allocations: 4.031 kB / 1.418 GB, free: 1.98 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.4363, allocations: 0.8007 MB / 1.419 GB, free: 1.137 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004554/0.4368, allocations: 175.1 kB / 1.419 GB, free: 0.9648 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.4369, allocations: 8 kB / 1.419 GB, free: 0.957 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005731/0.4375, allocations: 47.94 kB / 1.419 GB, free: 0.9102 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.989e-05/0.4376, allocations: 39.81 kB / 1.419 GB, free: 0.8711 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-05/0.4376, allocations: 23.98 kB / 1.419 GB, free: 0.8477 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.000859/0.4385, allocations: 0.6619 MB / 1.42 GB, free: 184 kB / 1.107 GB Notification: Performance of sort global known variables: time 6e-08/0.4385, allocations: 0 / 1.42 GB, free: 184 kB / 1.107 GB Notification: Performance of remove unused functions: time 0.001057/0.4395, allocations: 386.9 kB / 1.42 GB, free: 15.8 MB / 1.123 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.002458/0.442, allocations: 1.601 MB / 1.422 GB, free: 14.14 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001524/0.4435, allocations: 0.5401 MB / 1.422 GB, free: 13.61 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4435, allocations: 0 / 1.422 GB, free: 13.61 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0007532/0.4443, allocations: 273 kB / 1.422 GB, free: 13.34 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002083/0.4464, allocations: 0.5291 MB / 1.423 GB, free: 12.82 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/0.4576, allocations: 7.343 MB / 1.43 GB, free: 5.137 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.4581, allocations: 0.5138 MB / 1.431 GB, free: 4.59 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0006345/0.4587, allocations: 188.1 kB / 1.431 GB, free: 4.402 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005057/0.4592, allocations: 423.3 kB / 1.431 GB, free: 3.988 MB / 1.123 GB Notification: Performance of SimCode: time 6.52e-07/0.4592, allocations: 0 / 1.431 GB, free: 3.988 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0715/0.5307, allocations: 32.01 MB / 1.462 GB, free: 4.613 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.15, allocations: 17.47 kB / 1.462 GB, free: 4.602 MB / 1.154 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.267387275001965]