Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.001496/0.001496, 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.002279/0.002279, allocations: 220.2 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.37/1.37, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.951/2.951, allocations: 0.49 GB / 0.7959 GB, free: 35.67 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.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",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.001799/0.001799, allocations: 61.52 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2996, allocations: 176.1 MB / 1.327 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1825/0.4821, allocations: 150.8 MB / 1.474 GB, free: 10.16 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006515/0.4886, allocations: 4.025 MB / 1.478 GB, free: 6.125 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005465/0.4892, allocations: 27.75 kB / 1.478 GB, free: 6.098 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009858/0.4902, allocations: 326 kB / 1.478 GB, free: 5.777 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002483/0.4926, allocations: 1.038 MB / 1.479 GB, free: 4.734 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002146/0.4948, allocations: 0.8307 MB / 1.48 GB, free: 3.91 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001765/0.4966, allocations: 1.317 MB / 1.481 GB, free: 2.586 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000574/0.4971, allocations: 379.9 kB / 1.482 GB, free: 2.207 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.4985, allocations: 0.7473 MB / 1.482 GB, free: 1.457 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.4996, allocations: 470.5 kB / 1.483 GB, free: 1 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 9.827e-05/0.4997, allocations: 52 kB / 1.483 GB, free: 0.9492 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001427/0.5011, allocations: 0.7717 MB / 1.484 GB, free: 180 kB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002669/0.5014, allocations: 223.3 kB / 1.484 GB, free: 15.95 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003224/0.5017, allocations: 270.8 kB / 1.484 GB, free: 15.69 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.5034, allocations: 1.117 MB / 1.485 GB, free: 14.57 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/0.5034, allocations: 8 kB / 1.485 GB, free: 14.56 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5034, allocations: 0 / 1.485 GB, free: 14.56 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.5034, allocations: 0 / 1.485 GB, free: 14.56 MB / 1.186 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.001685/0.5051, allocations: 0.8935 MB / 1.486 GB, free: 13.64 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.5051, allocations: 16.02 kB / 1.486 GB, free: 13.62 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.45e-05/0.5052, allocations: 13 kB / 1.486 GB, free: 13.61 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.427e-05/0.5053, allocations: 78.53 kB / 1.486 GB, free: 13.52 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/0.507, allocations: 267.3 kB / 1.486 GB, free: 13.26 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008964/0.5079, allocations: 438.5 kB / 1.487 GB, free: 12.81 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/0.5079, allocations: 33 kB / 1.487 GB, free: 12.77 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.429e-05/0.508, allocations: 40 kB / 1.487 GB, free: 12.73 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.5094, allocations: 0.8907 MB / 1.488 GB, free: 11.75 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.5094, allocations: 3.984 kB / 1.488 GB, free: 11.75 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.937e-05/0.5095, allocations: 24 kB / 1.488 GB, free: 11.72 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.273e-05/0.5095, allocations: 20.94 kB / 1.488 GB, free: 11.7 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.5109, allocations: 0.5425 MB / 1.488 GB, free: 11.16 MB / 1.186 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.003861/0.5148, allocations: 1.903 MB / 1.49 GB, free: 9.191 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009004/0.5157, allocations: 274.3 kB / 1.49 GB, free: 8.914 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005144/0.5162, allocations: 164.7 kB / 1.491 GB, free: 8.75 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.5162, allocations: 0 / 1.491 GB, free: 8.75 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.5163, allocations: 42.5 kB / 1.491 GB, free: 8.699 MB / 1.186 GB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.5163, allocations: 0 / 1.491 GB, free: 8.699 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.005168/0.5214, allocations: 1.013 MB / 1.492 GB, free: 7.676 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/0.5215, allocations: 89.05 kB / 1.492 GB, free: 7.57 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007419/0.5222, allocations: 0.5457 MB / 1.492 GB, free: 7.016 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.441e-05/0.5223, allocations: 29.7 kB / 1.492 GB, free: 6.98 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.5225, allocations: 304 kB / 1.493 GB, free: 6.68 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/0.5226, allocations: 47.67 kB / 1.493 GB, free: 6.633 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.5227, allocations: 57.66 kB / 1.493 GB, free: 6.57 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.5229, allocations: 358.8 kB / 1.493 GB, free: 6.211 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005709/0.5235, allocations: 191.8 kB / 1.493 GB, free: 6.023 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006574/0.5241, allocations: 287 kB / 1.493 GB, free: 5.703 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.5252, allocations: 409.2 kB / 1.494 GB, free: 5.273 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.5253, allocations: 4 kB / 1.494 GB, free: 5.27 MB / 1.186 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002645/0.5279, allocations: 0.734 MB / 1.495 GB, free: 4.527 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.5279, allocations: 4 kB / 1.495 GB, free: 4.523 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.5279, allocations: 8.094 kB / 1.495 GB, free: 4.516 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006248/0.5285, allocations: 188.6 kB / 1.495 GB, free: 4.328 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003638/0.5289, allocations: 63.95 kB / 1.495 GB, free: 4.266 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004011/0.5329, allocations: 2.113 MB / 1.497 GB, free: 2.039 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005904/0.5335, allocations: 75.62 kB / 1.497 GB, free: 1.965 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.5335, allocations: 8 kB / 1.497 GB, free: 1.957 MB / 1.186 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.0002867/0.5338, allocations: 185.8 kB / 1.497 GB, free: 1.766 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.5339, allocations: 63.55 kB / 1.497 GB, free: 1.703 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.386e-05/0.534, allocations: 51.97 kB / 1.497 GB, free: 1.652 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.534, allocations: 0 / 1.497 GB, free: 1.652 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.534, allocations: 4 kB / 1.497 GB, free: 1.648 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.534, allocations: 0 / 1.497 GB, free: 1.648 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002975/0.537, allocations: 1.042 MB / 1.498 GB, free: 0.5469 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.537, allocations: 4.062 kB / 1.498 GB, free: 0.543 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.5372, allocations: 35.95 kB / 1.498 GB, free: 0.5078 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005375/0.5378, allocations: 184.7 kB / 1.498 GB, free: 332 kB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.5378, allocations: 3.984 kB / 1.498 GB, free: 328 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003671/0.5415, allocations: 2.064 MB / 1.501 GB, free: 14.14 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5415, allocations: 0 / 1.501 GB, free: 14.14 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002456/0.5439, allocations: 0.7043 MB / 1.501 GB, free: 13.41 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002391/0.5442, allocations: 91.61 kB / 1.501 GB, free: 13.32 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.482e-05/0.5442, allocations: 7.938 kB / 1.501 GB, free: 13.31 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005598/0.5448, allocations: 54.17 kB / 1.501 GB, free: 13.26 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/0.5449, allocations: 11.97 kB / 1.501 GB, free: 13.25 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.875e-05/0.5449, allocations: 15.98 kB / 1.501 GB, free: 13.23 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000481/0.5454, allocations: 390.8 kB / 1.502 GB, free: 12.85 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.5454, allocations: 4 kB / 1.502 GB, free: 12.85 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006845/0.5461, allocations: 187.7 kB / 1.502 GB, free: 12.66 MB / 1.201 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.003013/0.5491, allocations: 1.3 MB / 1.503 GB, free: 11.32 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001555/0.5506, allocations: 0.5103 MB / 1.504 GB, free: 10.8 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.5506, allocations: 4.125 kB / 1.504 GB, free: 10.8 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0007243/0.5514, allocations: 298.6 kB / 1.504 GB, free: 10.49 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.5528, allocations: 308 kB / 1.504 GB, free: 10.2 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/0.5642, allocations: 5.082 MB / 1.509 GB, free: 4.957 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.5645, allocations: 260 kB / 1.509 GB, free: 4.676 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0004496/0.565, allocations: 104.5 kB / 1.51 GB, free: 4.57 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/0.5652, allocations: 159.4 kB / 1.51 GB, free: 4.418 MB / 1.201 GB Notification: Performance of SimCode: time 9.92e-07/0.5652, allocations: 0 / 1.51 GB, free: 4.418 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0468/0.612, allocations: 17.89 MB / 1.527 GB, free: 3 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.64, allocations: 11.91 kB / 1.527 GB, free: 2.988 MB / 1.217 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.991926928050816]