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.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.0008518/0.0008518, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009504/0.0009504, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.8994/0.8994, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.703/1.703, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 3.046e-06/3.046e-06, allocations: 0 / 0.9505 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.186e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5888/0.5888, allocations: 150.8 MB / 1.098 GB, free: 38.5 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.004819/0.5937, allocations: 4.029 MB / 1.102 GB, free: 37.05 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000813/0.5945, allocations: 31.02 kB / 1.102 GB, free: 37.04 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009428/0.5954, allocations: 331.6 kB / 1.102 GB, free: 36.9 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002485/0.5979, allocations: 1.077 MB / 1.103 GB, free: 36.54 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002071/0.6, allocations: 0.8496 MB / 1.104 GB, free: 36.2 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002293/0.6023, allocations: 1.333 MB / 1.105 GB, free: 35.64 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006787/0.6029, allocations: 371.6 kB / 1.106 GB, free: 35.49 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001789/0.6047, allocations: 0.8691 MB / 1.106 GB, free: 35.15 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.606, allocations: 428.6 kB / 1.107 GB, free: 35.06 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.6061, allocations: 55.66 kB / 1.107 GB, free: 35.06 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001682/0.6078, allocations: 0.7562 MB / 1.108 GB, free: 34.89 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002913/0.6081, allocations: 234.3 kB / 1.108 GB, free: 34.79 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003669/0.6085, allocations: 232.2 kB / 1.108 GB, free: 34.71 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.00236/0.6108, allocations: 1.175 MB / 1.109 GB, free: 34.38 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 1.206e-05/0.6108, allocations: 4 kB / 1.109 GB, free: 34.37 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.655e-06/0.6108, allocations: 1.922 kB / 1.109 GB, free: 34.37 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.132e-05/0.6109, allocations: 0 / 1.109 GB, free: 34.37 MB / 0.9948 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.001861/0.6127, allocations: 0.8821 MB / 1.11 GB, free: 33.77 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.6128, allocations: 10.89 kB / 1.11 GB, free: 33.77 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.386e-05/0.6129, allocations: 80.3 kB / 1.11 GB, free: 33.71 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.6139, allocations: 270 kB / 1.11 GB, free: 33.65 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008238/0.6147, allocations: 438 kB / 1.111 GB, free: 33.37 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.6148, allocations: 33.59 kB / 1.111 GB, free: 33.36 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.405e-05/0.6148, allocations: 42.75 kB / 1.111 GB, free: 33.34 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.6159, allocations: 0.8887 MB / 1.112 GB, free: 32.73 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.6159, allocations: 5.109 kB / 1.112 GB, free: 32.73 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.599e-05/0.616, allocations: 24.5 kB / 1.112 GB, free: 32.71 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/0.616, allocations: 19.77 kB / 1.112 GB, free: 32.71 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000953/0.617, allocations: 0.547 MB / 1.112 GB, free: 32.55 MB / 0.9948 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.002913/0.6199, allocations: 1.882 MB / 1.114 GB, free: 31.44 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005814/0.6205, allocations: 275.5 kB / 1.114 GB, free: 31.35 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/0.6208, allocations: 161.1 kB / 1.115 GB, free: 31.31 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.6208, allocations: 2.875 kB / 1.115 GB, free: 31.31 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.6208, allocations: 37.69 kB / 1.115 GB, free: 31.27 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=11): time 2.715e-06/0.6208, allocations: 0 / 1.115 GB, free: 31.27 MB / 0.9948 GB Notification: Performance of matching and sorting (n=11): time 0.003052/0.6239, allocations: 1.019 MB / 1.116 GB, free: 31.04 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.6239, allocations: 78.95 kB / 1.116 GB, free: 30.95 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006365/0.6246, allocations: 0.5611 MB / 1.116 GB, free: 30.68 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.639e-05/0.6246, allocations: 28.61 kB / 1.116 GB, free: 30.65 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.6248, allocations: 302.5 kB / 1.117 GB, free: 30.41 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.6248, allocations: 39.56 kB / 1.117 GB, free: 30.38 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.6249, allocations: 69.03 kB / 1.117 GB, free: 30.34 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.103e-05/0.625, allocations: 361.1 kB / 1.117 GB, free: 30 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/0.6253, allocations: 188.5 kB / 1.117 GB, free: 29.95 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00039/0.6257, allocations: 299.1 kB / 1.117 GB, free: 29.78 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006573/0.6264, allocations: 401.8 kB / 1.118 GB, free: 29.6 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.6264, allocations: 1.344 kB / 1.118 GB, free: 29.6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001603/0.628, allocations: 0.7254 MB / 1.119 GB, free: 29.38 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.628, allocations: 14.12 kB / 1.119 GB, free: 29.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.628, allocations: 2.562 kB / 1.119 GB, free: 29.38 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004491/0.6285, allocations: 189.2 kB / 1.119 GB, free: 29.33 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.6287, allocations: 68.53 kB / 1.119 GB, free: 29.32 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002394/0.6311, allocations: 2.117 MB / 1.121 GB, free: 27.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005616/0.6317, allocations: 71.44 kB / 1.121 GB, free: 27.75 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.6317, allocations: 9.109 kB / 1.121 GB, free: 27.75 MB / 0.9948 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.0002987/0.632, allocations: 193.8 kB / 1.121 GB, free: 27.59 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.711e-05/0.6321, allocations: 53.91 kB / 1.121 GB, free: 27.57 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.308e-05/0.6321, allocations: 49.02 kB / 1.121 GB, free: 27.54 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.6322, allocations: 1.828 kB / 1.121 GB, free: 27.54 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.6322, allocations: 0.9375 kB / 1.121 GB, free: 27.54 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.6322, allocations: 4.969 kB / 1.121 GB, free: 27.54 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/0.6342, allocations: 1.045 MB / 1.122 GB, free: 27.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.6342, allocations: 0.5625 kB / 1.122 GB, free: 27.05 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.6343, allocations: 41.34 kB / 1.122 GB, free: 27.04 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003683/0.6347, allocations: 192.5 kB / 1.123 GB, free: 26.99 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.6347, allocations: 6.359 kB / 1.123 GB, free: 26.98 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002136/0.6368, allocations: 2.051 MB / 1.125 GB, free: 25.46 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.6368, allocations: 1.781 kB / 1.125 GB, free: 25.46 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.6384, allocations: 0.6948 MB / 1.125 GB, free: 25.17 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003231/0.6387, allocations: 97.53 kB / 1.125 GB, free: 25.12 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.539e-05/0.6388, allocations: 2.781 kB / 1.125 GB, free: 25.12 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003199/0.6391, allocations: 52.23 kB / 1.125 GB, free: 25.11 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.59e-05/0.6392, allocations: 14.42 kB / 1.125 GB, free: 25.11 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/0.6392, allocations: 16.3 kB / 1.125 GB, free: 25.11 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004402/0.6396, allocations: 395 kB / 1.126 GB, free: 24.93 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6396, allocations: 0 / 1.126 GB, free: 24.93 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000724/0.6404, allocations: 180.9 kB / 1.126 GB, free: 24.91 MB / 0.9948 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.001917/0.6423, allocations: 1.311 MB / 1.127 GB, free: 24.07 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001115/0.6434, allocations: 0.5135 MB / 1.128 GB, free: 23.85 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.6434, allocations: 1.188 kB / 1.128 GB, free: 23.85 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004419/0.6438, allocations: 296.1 kB / 1.128 GB, free: 23.69 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.645, allocations: 303.9 kB / 1.128 GB, free: 23.61 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008074/0.6531, allocations: 5.07 MB / 1.133 GB, free: 21.1 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.6534, allocations: 262.2 kB / 1.133 GB, free: 20.99 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0005634/0.654, allocations: 105.1 kB / 1.134 GB, free: 20.96 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.6542, allocations: 166 kB / 1.134 GB, free: 20.84 MB / 0.9948 GB Notification: Performance of SimCode: time 2.585e-06/0.6542, allocations: 0 / 1.134 GB, free: 20.84 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04553/0.6997, allocations: 18.36 MB / 1.152 GB, free: 18.47 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.33/9.03, allocations: 11.72 kB / 1.152 GB, free: 18.47 MB / 0.9948 GB " [Timeout remaining time 291] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 13.051193131133914]