Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001279/0.001279, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.001253/0.001253, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.47/1.47, allocations: 225.6 MB / 247.8 MB, free: 3.719 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.686/2.686, allocations: 443.5 MB / 0.7287 GB, free: 14.65 MB / 0.5762 GB " [Timeout remaining time 177] 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.MixingVolumeZeroFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 63.91 kB / 1.056 GB, free: 2.547 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3044, allocations: 160.7 MB / 1.213 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.7196/1.024, allocations: 50.15 MB / 1.262 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01782/1.042, allocations: 12.69 MB / 1.274 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004274/1.046, allocations: 80.41 kB / 1.274 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002632/1.049, allocations: 0.7888 MB / 1.275 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00576/1.054, allocations: 1.919 MB / 1.277 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004243/1.059, allocations: 1.365 MB / 1.278 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006072/1.065, allocations: 3.245 MB / 1.281 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002172/1.067, allocations: 1.038 MB / 1.283 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004278/1.071, allocations: 1.326 MB / 1.284 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002443/1.074, allocations: 0.9812 MB / 1.285 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005938/1.074, allocations: 96.59 kB / 1.285 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003962/1.078, allocations: 1.088 MB / 1.286 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008033/1.079, allocations: 308.6 kB / 1.286 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002364/1.081, allocations: 0.67 MB / 1.287 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006249/1.088, allocations: 1.961 MB / 1.289 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/1.088, allocations: 0 / 1.289 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.094e-06/1.088, allocations: 4.625 kB / 1.289 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001181/1.088, allocations: 0 / 1.289 GB, free: 5.473 MB / 0.9981 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.005129/1.093, allocations: 1.742 MB / 1.29 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/1.093, allocations: 15.7 kB / 1.291 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000316/1.093, allocations: 134.8 kB / 1.291 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009563/1.094, allocations: 212.3 kB / 1.291 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002866/1.097, allocations: 1.109 MB / 1.292 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.69e-05/1.097, allocations: 65.38 kB / 1.292 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002234/1.097, allocations: 87.41 kB / 1.292 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002295/1.1, allocations: 1.008 MB / 1.293 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.403e-05/1.1, allocations: 2.062 kB / 1.293 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/1.1, allocations: 45.44 kB / 1.293 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/1.1, allocations: 20.94 kB / 1.293 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/1.102, allocations: 0.6447 MB / 1.294 GB, free: 3.48 MB / 0.9981 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.006648/1.108, allocations: 4.735 MB / 1.298 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/1.11, allocations: 378.6 kB / 1.299 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005569/1.11, allocations: 199.4 kB / 1.299 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/1.111, allocations: 1.147 MB / 1.3 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/1.111, allocations: 37.77 kB / 1.3 GB, free: 14.27 MB / 1.014 GB Notification: Performance of pre-optimization done (n=29): time 2.454e-06/1.111, allocations: 0 / 1.3 GB, free: 14.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=29): time 0.003471/1.115, allocations: 1.092 MB / 1.301 GB, free: 13.69 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/1.115, allocations: 59.78 kB / 1.301 GB, free: 13.62 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002118/1.117, allocations: 0.9726 MB / 1.302 GB, free: 13.23 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001267/1.117, allocations: 35.92 kB / 1.302 GB, free: 13.2 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006596/1.118, allocations: 0.5966 MB / 1.303 GB, free: 12.73 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/1.118, allocations: 105.2 kB / 1.303 GB, free: 12.65 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002361/1.118, allocations: 116.6 kB / 1.303 GB, free: 12.59 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001597/1.118, allocations: 329.8 kB / 1.303 GB, free: 12.27 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005952/1.119, allocations: 194.4 kB / 1.303 GB, free: 12.22 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008355/1.12, allocations: 404 kB / 1.304 GB, free: 11.92 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/1.121, allocations: 0.601 MB / 1.304 GB, free: 11.52 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/1.121, allocations: 5.125 kB / 1.304 GB, free: 11.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002271/1.123, allocations: 0.7572 MB / 1.305 GB, free: 11.21 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/1.123, allocations: 12.69 kB / 1.305 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/1.123, allocations: 6.359 kB / 1.305 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008229/1.124, allocations: 156.6 kB / 1.305 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006695/1.125, allocations: 152.7 kB / 1.306 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/1.126, allocations: 1.717 MB / 1.307 GB, free: 9.504 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/1.128, allocations: 86.7 kB / 1.307 GB, free: 9.461 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/1.128, allocations: 30.33 kB / 1.307 GB, free: 9.457 MB / 1.014 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.0008637/1.129, allocations: 274.5 kB / 1.308 GB, free: 9.258 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005754/1.129, allocations: 116.7 kB / 1.308 GB, free: 9.195 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/1.132, allocations: 0.717 MB / 1.308 GB, free: 8.914 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.353e-05/1.132, allocations: 5.234 kB / 1.308 GB, free: 8.914 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/1.132, allocations: 4.547 kB / 1.308 GB, free: 8.91 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/1.132, allocations: 1.266 kB / 1.308 GB, free: 8.91 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004659/1.137, allocations: 1.627 MB / 1.31 GB, free: 8.105 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/1.137, allocations: 1.219 kB / 1.31 GB, free: 8.105 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004923/1.137, allocations: 87.64 kB / 1.31 GB, free: 8.102 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000656/1.138, allocations: 152.3 kB / 1.31 GB, free: 8.047 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.607e-05/1.138, allocations: 15 kB / 1.31 GB, free: 8.039 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/1.139, allocations: 1.72 MB / 1.312 GB, free: 6.395 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/1.139, allocations: 2.047 kB / 1.312 GB, free: 6.395 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/1.141, allocations: 0.7865 MB / 1.313 GB, free: 5.965 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007468/1.142, allocations: 255.6 kB / 1.313 GB, free: 5.77 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003551/1.142, allocations: 8.469 kB / 1.313 GB, free: 5.766 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008226/1.143, allocations: 46.88 kB / 1.313 GB, free: 5.758 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/1.143, allocations: 31.73 kB / 1.313 GB, free: 5.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.5e-05/1.143, allocations: 20.44 kB / 1.313 GB, free: 5.746 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001288/1.145, allocations: 0.6599 MB / 1.314 GB, free: 5.473 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/1.145, allocations: 0 / 1.314 GB, free: 5.473 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001623/1.146, allocations: 380.8 kB / 1.314 GB, free: 5.375 MB / 1.014 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.00328/1.149, allocations: 1.627 MB / 1.316 GB, free: 4.348 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00173/1.151, allocations: 0.5287 MB / 1.316 GB, free: 4.211 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/1.151, allocations: 1.219 kB / 1.316 GB, free: 4.211 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008484/1.152, allocations: 279.1 kB / 1.316 GB, free: 4.141 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003004/1.155, allocations: 0.5307 MB / 1.317 GB, free: 3.973 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/1.17, allocations: 7.328 MB / 1.324 GB, free: 84 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/1.171, allocations: 1.101 MB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001005/1.172, allocations: 193.7 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006844/1.173, allocations: 417.7 kB / 1.326 GB, free: 14.98 MB / 1.029 GB Notification: Performance of SimCode: time 1.152e-06/1.173, allocations: 0 / 1.326 GB, free: 14.98 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07827/1.251, allocations: 29.66 MB / 1.355 GB, free: 3.5 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/15.22, allocations: 17.95 kB / 1.355 GB, free: 3.488 MB / 1.029 GB " [Timeout remaining time 285] (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.38399275066331]