Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.00133/0.00133, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.001319/0.001319, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.372/1.372, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.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.514/2.514, allocations: 443.5 MB / 0.7287 GB, free: 13.28 MB / 0.5919 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.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 67.89 kB / 1.056 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8383/0.8402, allocations: 160.7 MB / 1.213 GB, free: 3.844 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2044/1.045, allocations: 171.6 MB / 1.38 GB, free: 12.05 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.006955/1.051, allocations: 4.313 MB / 1.385 GB, free: 7.719 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007394/1.052, allocations: 15.94 kB / 1.385 GB, free: 7.703 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00109/1.053, allocations: 365.9 kB / 1.385 GB, free: 7.344 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00256/1.056, allocations: 1.031 MB / 1.386 GB, free: 6.309 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002124/1.058, allocations: 0.8274 MB / 1.387 GB, free: 5.484 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001786/1.06, allocations: 1.294 MB / 1.388 GB, free: 4.188 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006437/1.06, allocations: 407.3 kB / 1.388 GB, free: 3.781 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001324/1.062, allocations: 0.7005 MB / 1.389 GB, free: 3.078 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/1.063, allocations: 479 kB / 1.39 GB, free: 2.613 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/1.063, allocations: 52 kB / 1.39 GB, free: 2.562 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001768/1.065, allocations: 0.9432 MB / 1.391 GB, free: 1.617 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002534/1.065, allocations: 223.3 kB / 1.391 GB, free: 1.398 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0003598/1.065, allocations: 326.5 kB / 1.391 GB, free: 1.078 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001716/1.067, allocations: 1.137 MB / 1.392 GB, free: 15.93 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.067, allocations: 4 kB / 1.392 GB, free: 15.93 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.693e-06/1.067, allocations: 0 / 1.392 GB, free: 15.93 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.571e-05/1.067, allocations: 0 / 1.392 GB, free: 15.93 MB / 1.107 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.001766/1.069, allocations: 0.9727 MB / 1.393 GB, free: 14.91 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/1.069, allocations: 8.625 kB / 1.393 GB, free: 14.9 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/1.069, allocations: 86.52 kB / 1.393 GB, free: 14.81 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/1.071, allocations: 271.3 kB / 1.394 GB, free: 14.54 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009879/1.072, allocations: 0.4939 MB / 1.394 GB, free: 14.01 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/1.072, allocations: 29 kB / 1.394 GB, free: 13.98 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.239e-05/1.072, allocations: 47.92 kB / 1.394 GB, free: 13.93 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/1.073, allocations: 0.6146 MB / 1.395 GB, free: 13.3 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/1.073, allocations: 3.984 kB / 1.395 GB, free: 13.29 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.315e-05/1.073, allocations: 16 kB / 1.395 GB, free: 13.28 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.313e-05/1.073, allocations: 17 kB / 1.395 GB, free: 13.26 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/1.075, allocations: 0.5503 MB / 1.395 GB, free: 12.71 MB / 1.107 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.004222/1.079, allocations: 2.261 MB / 1.397 GB, free: 10.32 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000918/1.08, allocations: 266.4 kB / 1.398 GB, free: 10.05 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005285/1.08, allocations: 172.6 kB / 1.398 GB, free: 9.875 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/1.08, allocations: 4 kB / 1.398 GB, free: 9.871 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/1.08, allocations: 34.56 kB / 1.398 GB, free: 9.828 MB / 1.107 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/1.08, allocations: 7.938 kB / 1.398 GB, free: 9.82 MB / 1.107 GB Notification: Performance of matching and sorting (n=11): time 0.005139/1.085, allocations: 1.084 MB / 1.399 GB, free: 8.707 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.134e-05/1.086, allocations: 85.05 kB / 1.399 GB, free: 8.605 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006979/1.086, allocations: 0.5534 MB / 1.4 GB, free: 8.043 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.389e-05/1.086, allocations: 33.7 kB / 1.4 GB, free: 8.004 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002868/1.087, allocations: 304.1 kB / 1.4 GB, free: 7.703 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 5.047e-05/1.087, allocations: 47.62 kB / 1.4 GB, free: 7.656 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/1.087, allocations: 57.66 kB / 1.4 GB, free: 7.594 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001972/1.087, allocations: 358.8 kB / 1.4 GB, free: 7.234 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005843/1.088, allocations: 191.8 kB / 1.401 GB, free: 7.047 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006333/1.088, allocations: 265.3 kB / 1.401 GB, free: 6.754 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/1.089, allocations: 410.6 kB / 1.401 GB, free: 6.324 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.089, allocations: 0 / 1.401 GB, free: 6.324 MB / 1.107 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002681/1.092, allocations: 0.728 MB / 1.402 GB, free: 5.586 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/1.092, allocations: 8 kB / 1.402 GB, free: 5.578 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/1.092, allocations: 0 / 1.402 GB, free: 5.578 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006495/1.093, allocations: 188.8 kB / 1.402 GB, free: 5.391 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/1.093, allocations: 67.89 kB / 1.402 GB, free: 5.324 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004091/1.097, allocations: 2.234 MB / 1.404 GB, free: 2.961 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006053/1.098, allocations: 79.64 kB / 1.404 GB, free: 2.883 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/1.098, allocations: 11.98 kB / 1.404 GB, free: 2.871 MB / 1.107 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.0002959/1.098, allocations: 189.8 kB / 1.405 GB, free: 2.676 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/1.098, allocations: 47.72 kB / 1.405 GB, free: 2.629 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/1.098, allocations: 59.97 kB / 1.405 GB, free: 2.57 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/1.098, allocations: 192 / 1.405 GB, free: 2.57 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/1.098, allocations: 4 kB / 1.405 GB, free: 2.566 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/1.098, allocations: 0 / 1.405 GB, free: 2.566 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00314/1.101, allocations: 1.137 MB / 1.406 GB, free: 1.363 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.101, allocations: 0 / 1.406 GB, free: 1.363 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/1.102, allocations: 44.02 kB / 1.406 GB, free: 1.32 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005369/1.102, allocations: 180.8 kB / 1.406 GB, free: 1.141 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/1.102, allocations: 7.938 kB / 1.406 GB, free: 1.133 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003779/1.106, allocations: 2.187 MB / 1.408 GB, free: 14.8 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.106, allocations: 8.094 kB / 1.408 GB, free: 14.8 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/1.108, allocations: 0.708 MB / 1.409 GB, free: 14.06 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002962/1.109, allocations: 168.7 kB / 1.409 GB, free: 13.88 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.84e-05/1.109, allocations: 4 kB / 1.409 GB, free: 13.88 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005595/1.109, allocations: 54.11 kB / 1.409 GB, free: 13.82 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/1.109, allocations: 19.92 kB / 1.409 GB, free: 13.8 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.244e-05/1.109, allocations: 11.98 kB / 1.409 GB, free: 13.79 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004769/1.11, allocations: 390.8 kB / 1.41 GB, free: 13.41 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/1.11, allocations: 0 / 1.41 GB, free: 13.41 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0006147/1.111, allocations: 187.8 kB / 1.41 GB, free: 13.23 MB / 1.123 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.003117/1.114, allocations: 1.32 MB / 1.411 GB, free: 11.89 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001597/1.115, allocations: 0.514 MB / 1.411 GB, free: 11.36 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.115, allocations: 4 kB / 1.411 GB, free: 11.36 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0007299/1.116, allocations: 295 kB / 1.412 GB, free: 11.05 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/1.117, allocations: 304.6 kB / 1.412 GB, free: 10.77 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/1.129, allocations: 5.078 MB / 1.417 GB, free: 5.523 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005378/1.13, allocations: 0.8621 MB / 1.418 GB, free: 4.633 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0004329/1.13, allocations: 112.5 kB / 1.418 GB, free: 4.52 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/1.13, allocations: 160.8 kB / 1.418 GB, free: 4.363 MB / 1.123 GB Notification: Performance of SimCode: time 1.102e-06/1.13, allocations: 3.938 kB / 1.418 GB, free: 4.359 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05045/1.181, allocations: 16.97 MB / 1.435 GB, free: 3.715 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/13.75, allocations: 10.5 kB / 1.435 GB, free: 3.707 MB / 1.139 GB " [Timeout remaining time 286] (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.460064242593944]