Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.001673/0.001673, allocations: 114 kB / 18.14 MB, free: 3.805 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.00202/0.00202, allocations: 201.2 kB / 21.43 MB, free: 0.5234 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.689/1.689, allocations: 225.6 MB / 250.2 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.678/2.678, allocations: 476.7 MB / 0.7637 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 63.91 kB / 1.108 GB, free: 7.039 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8304/0.8323, allocations: 168.7 MB / 1.273 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1885/1.021, allocations: 171.8 MB / 1.441 GB, free: 7.895 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.006828/1.028, allocations: 4.317 MB / 1.445 GB, free: 3.57 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006265/1.028, allocations: 23.88 kB / 1.445 GB, free: 3.547 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001015/1.029, allocations: 362 kB / 1.445 GB, free: 3.191 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002345/1.032, allocations: 1.042 MB / 1.446 GB, free: 2.145 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002169/1.034, allocations: 0.8184 MB / 1.447 GB, free: 1.328 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00171/1.036, allocations: 1.297 MB / 1.448 GB, free: 32 kB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005862/1.036, allocations: 383.2 kB / 1.449 GB, free: 15.65 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/1.037, allocations: 0.6967 MB / 1.449 GB, free: 14.95 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/1.038, allocations: 478.2 kB / 1.45 GB, free: 14.48 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 8.705e-05/1.039, allocations: 52 kB / 1.45 GB, free: 14.43 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/1.04, allocations: 0.9509 MB / 1.451 GB, free: 13.48 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002319/1.04, allocations: 215.3 kB / 1.451 GB, free: 13.27 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0003589/1.041, allocations: 330.5 kB / 1.451 GB, free: 12.95 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001553/1.042, allocations: 1.141 MB / 1.452 GB, free: 11.8 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/1.042, allocations: 3.938 kB / 1.452 GB, free: 11.8 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.813e-06/1.042, allocations: 0 / 1.452 GB, free: 11.8 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.408e-05/1.042, allocations: 0 / 1.452 GB, free: 11.8 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001702/1.044, allocations: 0.9727 MB / 1.453 GB, free: 10.77 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/1.044, allocations: 8.031 kB / 1.453 GB, free: 10.76 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/1.044, allocations: 82.52 kB / 1.453 GB, free: 10.67 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/1.046, allocations: 267.3 kB / 1.454 GB, free: 10.41 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009385/1.047, allocations: 0.4978 MB / 1.454 GB, free: 9.875 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.741e-05/1.047, allocations: 33 kB / 1.454 GB, free: 9.844 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.304e-05/1.047, allocations: 36 kB / 1.454 GB, free: 9.809 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/1.048, allocations: 0.6185 MB / 1.455 GB, free: 9.164 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/1.048, allocations: 4 kB / 1.455 GB, free: 9.16 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.836e-05/1.048, allocations: 20 kB / 1.455 GB, free: 9.141 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.17e-05/1.048, allocations: 17 kB / 1.455 GB, free: 9.125 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/1.05, allocations: 0.5581 MB / 1.455 GB, free: 8.566 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.004231/1.054, allocations: 2.265 MB / 1.458 GB, free: 6.172 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009422/1.055, allocations: 274.3 kB / 1.458 GB, free: 5.895 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000547/1.055, allocations: 168.8 kB / 1.458 GB, free: 5.727 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/1.055, allocations: 0 / 1.458 GB, free: 5.727 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/1.055, allocations: 46.48 kB / 1.458 GB, free: 5.672 MB / 1.154 GB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/1.055, allocations: 4 kB / 1.458 GB, free: 5.668 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.005251/1.061, allocations: 1.08 MB / 1.459 GB, free: 4.559 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.694e-05/1.061, allocations: 81.09 kB / 1.459 GB, free: 4.461 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007385/1.062, allocations: 0.5573 MB / 1.46 GB, free: 3.895 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.943e-05/1.062, allocations: 29.7 kB / 1.46 GB, free: 3.859 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/1.062, allocations: 316 kB / 1.46 GB, free: 3.547 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.982e-05/1.062, allocations: 35.69 kB / 1.46 GB, free: 3.512 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/1.062, allocations: 61.66 kB / 1.46 GB, free: 3.445 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001938/1.062, allocations: 358.7 kB / 1.461 GB, free: 3.086 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005956/1.063, allocations: 183.8 kB / 1.461 GB, free: 2.906 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006579/1.063, allocations: 273.3 kB / 1.461 GB, free: 2.605 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/1.065, allocations: 408.2 kB / 1.461 GB, free: 2.176 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.065, allocations: 0 / 1.461 GB, free: 2.176 MB / 1.154 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002682/1.067, allocations: 0.7226 MB / 1.462 GB, free: 1.445 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/1.067, allocations: 7.984 kB / 1.462 GB, free: 1.438 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/1.067, allocations: 4 kB / 1.462 GB, free: 1.434 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006622/1.068, allocations: 184.7 kB / 1.462 GB, free: 1.25 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003843/1.068, allocations: 67.94 kB / 1.462 GB, free: 1.184 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004048/1.072, allocations: 2.244 MB / 1.464 GB, free: 14.8 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006319/1.073, allocations: 79.64 kB / 1.465 GB, free: 14.72 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/1.073, allocations: 8 kB / 1.465 GB, free: 14.71 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002951/1.073, allocations: 191.9 kB / 1.465 GB, free: 14.52 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/1.073, allocations: 55.61 kB / 1.465 GB, free: 14.46 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/1.074, allocations: 55.98 kB / 1.465 GB, free: 14.41 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/1.074, allocations: 4 kB / 1.465 GB, free: 14.4 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/1.074, allocations: 3.984 kB / 1.465 GB, free: 14.4 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/1.074, allocations: 0 / 1.465 GB, free: 14.4 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003136/1.077, allocations: 1.125 MB / 1.466 GB, free: 13.21 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/1.077, allocations: 0 / 1.466 GB, free: 13.21 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/1.077, allocations: 40.02 kB / 1.466 GB, free: 13.17 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005634/1.078, allocations: 180.7 kB / 1.466 GB, free: 12.99 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/1.078, allocations: 7.922 kB / 1.466 GB, free: 12.98 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003927/1.081, allocations: 2.191 MB / 1.468 GB, free: 10.65 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.081, allocations: 0 / 1.468 GB, free: 10.65 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002593/1.084, allocations: 0.7081 MB / 1.469 GB, free: 9.918 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000326/1.084, allocations: 176.7 kB / 1.469 GB, free: 9.727 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.983e-05/1.084, allocations: 0 / 1.469 GB, free: 9.727 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005629/1.085, allocations: 52.91 kB / 1.469 GB, free: 9.676 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/1.085, allocations: 7.984 kB / 1.469 GB, free: 9.668 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.631e-05/1.085, allocations: 15.98 kB / 1.469 GB, free: 9.652 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0004956/1.086, allocations: 398.8 kB / 1.47 GB, free: 9.266 MB / 1.17 GB Notification: Performance of sort global known variables: time 9.1e-08/1.086, allocations: 0 / 1.47 GB, free: 9.266 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006357/1.086, allocations: 175.8 kB / 1.47 GB, free: 9.094 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003152/1.089, allocations: 1.322 MB / 1.471 GB, free: 7.738 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001631/1.091, allocations: 0.514 MB / 1.472 GB, free: 7.211 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/1.091, allocations: 0 / 1.472 GB, free: 7.211 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007425/1.092, allocations: 306.8 kB / 1.472 GB, free: 6.898 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/1.093, allocations: 308.6 kB / 1.472 GB, free: 6.605 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/1.105, allocations: 5.091 MB / 1.477 GB, free: 1.355 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005002/1.105, allocations: 0.8621 MB / 1.478 GB, free: 476 kB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0004313/1.106, allocations: 100.5 kB / 1.478 GB, free: 372 kB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/1.106, allocations: 163.4 kB / 1.478 GB, free: 208 kB / 1.17 GB Notification: Performance of SimCode: time 7.91e-07/1.106, allocations: 0 / 1.478 GB, free: 208 kB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05035/1.156, allocations: 17 MB / 1.495 GB, free: 15.52 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/13.3, allocations: 24.02 kB / 1.495 GB, free: 15.5 MB / 1.201 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.639467565808445]