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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001044, allocations: 108 kB / 15.61 MB, free: 152 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.001036/0.001037, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.249/1.249, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.298/2.298, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 59.91 kB / 0.8693 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.481/0.4823, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1505/0.6328, allocations: 171 MB / 1.184 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005259/0.6381, allocations: 4.294 MB / 1.189 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004631/0.6386, allocations: 19.88 kB / 1.189 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008112/0.6394, allocations: 342 kB / 1.189 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001885/0.6413, allocations: 1.003 MB / 1.19 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.643, allocations: 0.8023 MB / 1.191 GB, free: 348 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001308/0.6443, allocations: 1.293 MB / 1.192 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005822/0.6449, allocations: 487.1 kB / 1.192 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.6459, allocations: 0.6655 MB / 1.193 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009085/0.6468, allocations: 448 kB / 1.194 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.647, allocations: 52 kB / 1.194 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.6483, allocations: 0.912 MB / 1.194 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002089/0.6485, allocations: 223.4 kB / 1.195 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003297/0.6488, allocations: 330.5 kB / 1.195 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.65, allocations: 1.122 MB / 1.196 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.6501, allocations: 0 / 1.196 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6501, allocations: 0 / 1.196 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.6501, allocations: 0 / 1.196 GB, free: 10.83 MB / 0.9512 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.001459/0.6515, allocations: 0.9467 MB / 1.197 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.6516, allocations: 8.031 kB / 1.197 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.135e-05/0.6517, allocations: 90.45 kB / 1.197 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/0.6533, allocations: 271 kB / 1.197 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007069/0.654, allocations: 485.4 kB / 1.198 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003134/0.6543, allocations: 84.94 kB / 1.198 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.645e-05/0.6544, allocations: 40 kB / 1.198 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.6556, allocations: 0.6185 MB / 1.199 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.6556, allocations: 7.922 kB / 1.199 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.352e-05/0.6557, allocations: 23.94 kB / 1.199 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/0.6557, allocations: 17 kB / 1.199 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.6571, allocations: 0.5581 MB / 1.199 GB, free: 7.578 MB / 0.9512 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.003603/0.6607, allocations: 2.284 MB / 1.201 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009874/0.6617, allocations: 306.2 kB / 1.202 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005692/0.6623, allocations: 172.7 kB / 1.202 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.6623, allocations: 3.984 kB / 1.202 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.6623, allocations: 42.56 kB / 1.202 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.6623, allocations: 0 / 1.202 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.005145/0.6675, allocations: 1.096 MB / 1.203 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.6675, allocations: 89.27 kB / 1.203 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000542/0.6681, allocations: 0.5457 MB / 1.204 GB, free: 2.836 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.6681, allocations: 33.64 kB / 1.204 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.6683, allocations: 307.4 kB / 1.204 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.6684, allocations: 35.47 kB / 1.204 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.6685, allocations: 69.53 kB / 1.204 GB, free: 2.383 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.6686, allocations: 354.8 kB / 1.204 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006329/0.6692, allocations: 191.8 kB / 1.204 GB, free: 1.84 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006599/0.6699, allocations: 274.3 kB / 1.205 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.6711, allocations: 417.7 kB / 1.205 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6711, allocations: 0 / 1.205 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002673/0.6738, allocations: 0.7387 MB / 1.206 GB, free: 364 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.6738, allocations: 13.55 kB / 1.206 GB, free: 352 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.6738, allocations: 0 / 1.206 GB, free: 352 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005843/0.6744, allocations: 184.8 kB / 1.206 GB, free: 164 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003757/0.6748, allocations: 71.88 kB / 1.206 GB, free: 92 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003704/0.6785, allocations: 2.241 MB / 1.208 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005578/0.6791, allocations: 75.48 kB / 1.208 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.6791, allocations: 15.98 kB / 1.208 GB, free: 13.62 MB / 0.9669 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.000189/0.6793, allocations: 189.8 kB / 1.209 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.641e-05/0.6794, allocations: 51.38 kB / 1.209 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.919e-05/0.6795, allocations: 52.03 kB / 1.209 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.6795, allocations: 4 kB / 1.209 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.6796, allocations: 0 / 1.209 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.6796, allocations: 0 / 1.209 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003018/0.6826, allocations: 1.144 MB / 1.21 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.6826, allocations: 4 kB / 1.21 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/0.6829, allocations: 43.95 kB / 1.21 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005196/0.6834, allocations: 184.7 kB / 1.21 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.6834, allocations: 4 kB / 1.21 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003387/0.6868, allocations: 2.183 MB / 1.212 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.6868, allocations: 4.031 kB / 1.212 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002492/0.6893, allocations: 0.7157 MB / 1.213 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001867/0.6895, allocations: 164.5 kB / 1.213 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.366e-05/0.6896, allocations: 11.92 kB / 1.213 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005701/0.6902, allocations: 43.95 kB / 1.213 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.6902, allocations: 19.97 kB / 1.213 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.24e-05/0.6903, allocations: 19.91 kB / 1.213 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003804/0.6907, allocations: 390.8 kB / 1.213 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6907, allocations: 0 / 1.213 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005208/0.6912, allocations: 183.8 kB / 1.214 GB, free: 7.973 MB / 0.9669 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.002974/0.6942, allocations: 1.323 MB / 1.215 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001553/0.6957, allocations: 0.5372 MB / 1.215 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6958, allocations: 4 kB / 1.215 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007365/0.6965, allocations: 307.1 kB / 1.216 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.6979, allocations: 315.4 kB / 1.216 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.7087, allocations: 5.172 MB / 1.221 GB, free: 128 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.7091, allocations: 0.8621 MB / 1.222 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004052/0.7095, allocations: 108.5 kB / 1.222 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.7097, allocations: 159.4 kB / 1.222 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.7098, allocations: 3.938 kB / 1.222 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.397/3.106, allocations: 16.75 MB / 1.239 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.65/16.76, allocations: 24.55 kB / 1.239 GB, free: 14.55 MB / 0.9981 GB (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 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches