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.005215/0.005215, allocations: 103.6 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.267/1.267, allocations: 222.9 MB / 240.4 MB, free: 4.164 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.204/2.204, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.7 kB / 0.9504 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2833, allocations: 140.4 MB / 1.087 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1775/0.4609, allocations: 171 MB / 1.254 GB, free: 6.461 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006814/0.4677, allocations: 4.288 MB / 1.259 GB, free: 2.164 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009508/0.4687, allocations: 23.88 kB / 1.259 GB, free: 2.141 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.47, allocations: 354 kB / 1.259 GB, free: 1.793 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002628/0.4726, allocations: 0.9954 MB / 1.26 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.6219/1.095, allocations: 0.8071 MB / 1.261 GB, free: 4.277 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002003/1.097, allocations: 1.288 MB / 1.262 GB, free: 4.277 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007387/1.097, allocations: 484 kB / 1.262 GB, free: 4.258 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001333/1.099, allocations: 0.6805 MB / 1.263 GB, free: 4.258 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/1.1, allocations: 456.2 kB / 1.264 GB, free: 4.258 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001005/1.1, allocations: 51.22 kB / 1.264 GB, free: 4.258 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/1.102, allocations: 0.9106 MB / 1.265 GB, free: 4.258 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002705/1.102, allocations: 211.5 kB / 1.265 GB, free: 4.258 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004257/1.102, allocations: 329.3 kB / 1.265 GB, free: 4.258 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001821/1.104, allocations: 1.14 MB / 1.266 GB, free: 4.234 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/1.104, allocations: 1.219 kB / 1.266 GB, free: 4.234 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.924e-06/1.104, allocations: 0 / 1.266 GB, free: 4.234 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.08e-05/1.104, allocations: 1 kB / 1.266 GB, free: 4.234 MB / 1.014 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.001785/1.106, allocations: 0.952 MB / 1.267 GB, free: 3.664 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/1.106, allocations: 9.594 kB / 1.267 GB, free: 3.664 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/1.106, allocations: 81.83 kB / 1.267 GB, free: 3.625 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/1.108, allocations: 262.5 kB / 1.267 GB, free: 3.594 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009226/1.109, allocations: 0.489 MB / 1.268 GB, free: 3.34 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/1.109, allocations: 31.44 kB / 1.268 GB, free: 3.34 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.667e-05/1.109, allocations: 46.89 kB / 1.268 GB, free: 3.34 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/1.11, allocations: 0.6121 MB / 1.269 GB, free: 3.254 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/1.11, allocations: 4.656 kB / 1.269 GB, free: 3.254 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.238e-05/1.11, allocations: 22.88 kB / 1.269 GB, free: 3.254 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.039e-05/1.11, allocations: 19.55 kB / 1.269 GB, free: 3.254 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/1.112, allocations: 0.545 MB / 1.269 GB, free: 3.254 MB / 1.014 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.004055/1.116, allocations: 2.26 MB / 1.271 GB, free: 2.23 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009964/1.117, allocations: 285.1 kB / 1.272 GB, free: 2.207 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000598/1.118, allocations: 165.8 kB / 1.272 GB, free: 2.199 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/1.118, allocations: 2.562 kB / 1.272 GB, free: 2.199 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/1.118, allocations: 42.69 kB / 1.272 GB, free: 2.156 MB / 1.014 GB Notification: Performance of pre-optimization done (n=11): time 2.665e-06/1.118, allocations: 0.6562 kB / 1.272 GB, free: 2.156 MB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.005787/1.124, allocations: 1.087 MB / 1.273 GB, free: 18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/1.124, allocations: 81.94 kB / 1.273 GB, free: 17.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007788/1.124, allocations: 0.5479 MB / 1.273 GB, free: 17.78 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.077e-05/1.124, allocations: 27.8 kB / 1.274 GB, free: 17.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/1.125, allocations: 301.6 kB / 1.274 GB, free: 17.6 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/1.125, allocations: 46.77 kB / 1.274 GB, free: 17.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/1.125, allocations: 55.28 kB / 1.274 GB, free: 17.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.125, allocations: 359.1 kB / 1.274 GB, free: 17.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006287/1.126, allocations: 191.8 kB / 1.274 GB, free: 17.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006417/1.126, allocations: 264.4 kB / 1.275 GB, free: 17.15 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/1.127, allocations: 410.6 kB / 1.275 GB, free: 17.07 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.127, allocations: 2.125 kB / 1.275 GB, free: 17.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002747/1.13, allocations: 0.7281 MB / 1.276 GB, free: 17 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/1.13, allocations: 4.938 kB / 1.276 GB, free: 17 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.13, allocations: 4.656 kB / 1.276 GB, free: 17 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006297/1.131, allocations: 182.9 kB / 1.276 GB, free: 16.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003773/1.131, allocations: 73.08 kB / 1.276 GB, free: 16.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003954/1.135, allocations: 2.232 MB / 1.278 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006775/1.136, allocations: 77.53 kB / 1.278 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/1.136, allocations: 8.891 kB / 1.278 GB, free: 15.61 MB / 1.029 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.0002976/1.136, allocations: 191.4 kB / 1.278 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/1.136, allocations: 49.61 kB / 1.279 GB, free: 15.47 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/1.136, allocations: 51.66 kB / 1.279 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/1.136, allocations: 6.656 kB / 1.279 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/1.136, allocations: 0.625 kB / 1.279 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.136, allocations: 5.578 kB / 1.279 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003228/1.14, allocations: 1.131 MB / 1.28 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/1.14, allocations: 2 kB / 1.28 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/1.14, allocations: 40.33 kB / 1.28 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005435/1.141, allocations: 184.4 kB / 1.28 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/1.141, allocations: 6.5 kB / 1.28 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00368/1.144, allocations: 2.192 MB / 1.282 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.144, allocations: 1.406 kB / 1.282 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002562/1.147, allocations: 0.7001 MB / 1.283 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002947/1.147, allocations: 167.6 kB / 1.283 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.113e-05/1.147, allocations: 3.156 kB / 1.283 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005884/1.148, allocations: 49.55 kB / 1.283 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/1.148, allocations: 17.53 kB / 1.283 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.531e-05/1.148, allocations: 11.41 kB / 1.283 GB, free: 13.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00048/1.148, allocations: 395 kB / 1.283 GB, free: 13.37 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.11e-07/1.148, allocations: 0 / 1.283 GB, free: 13.37 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006919/1.149, allocations: 187.8 kB / 1.284 GB, free: 13.35 MB / 1.029 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.003114/1.152, allocations: 1.322 MB / 1.285 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001674/1.154, allocations: 0.5187 MB / 1.285 GB, free: 12.53 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/1.154, allocations: 2.406 kB / 1.285 GB, free: 12.53 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007582/1.155, allocations: 302.2 kB / 1.286 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/1.156, allocations: 302.8 kB / 1.286 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/1.168, allocations: 5.064 MB / 1.291 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004655/1.168, allocations: 0.8585 MB / 1.292 GB, free: 9.906 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005066/1.169, allocations: 113.6 kB / 1.292 GB, free: 9.871 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/1.169, allocations: 162.2 kB / 1.292 GB, free: 9.863 MB / 1.029 GB Notification: Performance of SimCode: time 7.61e-07/1.169, allocations: 0 / 1.292 GB, free: 9.863 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.927/3.096, allocations: 16.9 MB / 1.308 GB, free: 8.539 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.28/18.37, allocations: 10.45 kB / 1.308 GB, free: 8.531 MB / 1.029 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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