Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002048/0.002048, allocations: 197.7 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.337/2.337, allocations: 390.3 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 67.89 kB / 0.8126 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.572/0.5735, allocations: 140.4 MB / 0.9497 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1681/0.7416, allocations: 171 MB / 1.117 GB, free: 6.156 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006057/0.7477, allocations: 4.28 MB / 1.121 GB, free: 1.863 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006813/0.7484, allocations: 23.88 kB / 1.121 GB, free: 1.84 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.7496, allocations: 342 kB / 1.121 GB, free: 1.504 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00243/0.752, allocations: 1.003 MB / 1.122 GB, free: 0.4961 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002031/0.7541, allocations: 0.8125 MB / 1.123 GB, free: 15.69 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001676/0.7558, allocations: 1.292 MB / 1.124 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006837/0.7565, allocations: 487 kB / 1.125 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001326/0.7578, allocations: 0.6732 MB / 1.125 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.7589, allocations: 442.3 kB / 1.126 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001662/0.7591, allocations: 52 kB / 1.126 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001679/0.7608, allocations: 0.9082 MB / 1.127 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002571/0.7611, allocations: 223.3 kB / 1.127 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004149/0.7615, allocations: 326.6 kB / 1.127 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001747/0.7633, allocations: 1.122 MB / 1.128 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7633, allocations: 0 / 1.128 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7633, allocations: 0 / 1.128 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.824e-05/0.7633, allocations: 0 / 1.128 GB, free: 10.18 MB / 0.8887 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.00192/0.7652, allocations: 0.9505 MB / 1.129 GB, free: 9.184 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.7653, allocations: 20.02 kB / 1.129 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001267/0.7654, allocations: 82.53 kB / 1.129 GB, free: 9.074 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/0.7672, allocations: 259 kB / 1.13 GB, free: 8.82 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000881/0.7681, allocations: 489.4 kB / 1.13 GB, free: 8.301 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003442/0.7684, allocations: 84.94 kB / 1.13 GB, free: 8.215 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.575e-05/0.7685, allocations: 36 kB / 1.13 GB, free: 8.18 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.7698, allocations: 0.6302 MB / 1.131 GB, free: 7.523 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.7699, allocations: 7.984 kB / 1.131 GB, free: 7.516 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.209e-05/0.7699, allocations: 19.94 kB / 1.131 GB, free: 7.496 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.937e-05/0.77, allocations: 21 kB / 1.131 GB, free: 7.477 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.7715, allocations: 0.5581 MB / 1.131 GB, free: 6.918 MB / 0.8887 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.004144/0.7756, allocations: 2.28 MB / 1.134 GB, free: 4.512 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.7768, allocations: 298.2 kB / 1.134 GB, free: 4.211 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006008/0.7774, allocations: 172.7 kB / 1.134 GB, free: 4.039 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.7774, allocations: 4 kB / 1.134 GB, free: 4.035 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.7774, allocations: 34.56 kB / 1.134 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.7774, allocations: 0 / 1.134 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.005447/0.7829, allocations: 1.111 MB / 1.135 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.783, allocations: 88.98 kB / 1.135 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006517/0.7836, allocations: 0.5496 MB / 1.136 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.7837, allocations: 25.7 kB / 1.136 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.7839, allocations: 303.5 kB / 1.136 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.7839, allocations: 39.45 kB / 1.136 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.784, allocations: 61.61 kB / 1.136 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.7842, allocations: 354.8 kB / 1.137 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006605/0.7848, allocations: 195.8 kB / 1.137 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006916/0.7855, allocations: 274.2 kB / 1.137 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.7868, allocations: 425.8 kB / 1.137 GB, free: 464 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.7868, allocations: 0 / 1.137 GB, free: 464 kB / 0.8887 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002845/0.7896, allocations: 0.7409 MB / 1.138 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.7897, allocations: 5.875 kB / 1.138 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.7897, allocations: 4 kB / 1.138 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000629/0.7903, allocations: 180.8 kB / 1.138 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/0.7907, allocations: 75.88 kB / 1.138 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003884/0.7946, allocations: 2.236 MB / 1.141 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006392/0.7953, allocations: 75.55 kB / 1.141 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.7953, allocations: 15.98 kB / 1.141 GB, free: 12.98 MB / 0.9044 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.0002307/0.7956, allocations: 187.7 kB / 1.141 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.7957, allocations: 51.38 kB / 1.141 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.7958, allocations: 64.02 kB / 1.141 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.7958, allocations: 0 / 1.141 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.7958, allocations: 0 / 1.141 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.7958, allocations: 0 / 1.141 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003241/0.7991, allocations: 1.144 MB / 1.142 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.7991, allocations: 0 / 1.142 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/0.7994, allocations: 39.95 kB / 1.142 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005466/0.7999, allocations: 180.7 kB / 1.142 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.8, allocations: 7.938 kB / 1.142 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003569/0.8035, allocations: 2.187 MB / 1.144 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.8035, allocations: 7.875 kB / 1.144 GB, free: 8.891 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002605/0.8062, allocations: 0.7162 MB / 1.145 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002293/0.8064, allocations: 164.4 kB / 1.145 GB, free: 7.969 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.383e-05/0.8065, allocations: 11.94 kB / 1.145 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006389/0.8071, allocations: 53.34 kB / 1.145 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.8072, allocations: 11.98 kB / 1.145 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.332e-05/0.8072, allocations: 15.98 kB / 1.145 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004239/0.8077, allocations: 390.8 kB / 1.146 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8077, allocations: 4 kB / 1.146 GB, free: 7.496 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0006042/0.8083, allocations: 179.8 kB / 1.146 GB, free: 7.32 MB / 0.9044 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.003112/0.8114, allocations: 1.333 MB / 1.147 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001653/0.8131, allocations: 0.5366 MB / 1.148 GB, free: 5.414 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.8131, allocations: 0 / 1.148 GB, free: 5.414 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007651/0.8139, allocations: 302.7 kB / 1.148 GB, free: 5.105 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/0.8153, allocations: 309.8 kB / 1.148 GB, free: 4.805 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/0.827, allocations: 5.179 MB / 1.153 GB, free: 15.48 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.8274, allocations: 0.8621 MB / 1.154 GB, free: 14.59 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0004999/0.8279, allocations: 108.5 kB / 1.154 GB, free: 14.48 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/0.8281, allocations: 163.4 kB / 1.155 GB, free: 14.32 MB / 0.92 GB Notification: Performance of SimCode: time 6.21e-07/0.8282, allocations: 0 / 1.155 GB, free: 14.32 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03733/0.8655, allocations: 16.75 MB / 1.171 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/12.17, allocations: 3.859 kB / 1.171 GB, free: 13.91 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches