Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_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.001216/0.001216, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001327/0.001327, allocations: 195.4 kB / 16.14 MB, free: 6.711 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.324/1.324, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.762/2.762, allocations: 461.9 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 66.97 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3751, allocations: 157.4 MB / 1.052 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2227/0.5979, allocations: 168.8 MB / 1.217 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009087/0.6071, allocations: 4.35 MB / 1.221 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001604/0.6087, allocations: 23.88 kB / 1.221 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001743/0.6106, allocations: 298.5 kB / 1.222 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003673/0.6143, allocations: 0.9414 MB / 1.222 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002971/0.6173, allocations: 0.7208 MB / 1.223 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002722/0.62, allocations: 1.797 MB / 1.225 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009382/0.621, allocations: 415 kB / 1.225 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001775/0.6228, allocations: 0.5952 MB / 1.226 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001614/0.6244, allocations: 470.1 kB / 1.226 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.6246, allocations: 32 kB / 1.226 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002224/0.6268, allocations: 1.005 MB / 1.227 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003688/0.6272, allocations: 195.4 kB / 1.228 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006833/0.6279, allocations: 310.5 kB / 1.228 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002108/0.63, allocations: 1.141 MB / 1.229 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.63, allocations: 0 / 1.229 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.966e-06/0.63, allocations: 0 / 1.229 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.008e-05/0.6301, allocations: 0 / 1.229 GB, free: 2.57 MB / 0.9825 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.00251/0.6326, allocations: 0.9467 MB / 1.23 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.6327, allocations: 8.031 kB / 1.23 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001669/0.6328, allocations: 86.52 kB / 1.23 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001981/0.6348, allocations: 267 kB / 1.23 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.636, allocations: 489.4 kB / 1.231 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003807/0.6364, allocations: 88.94 kB / 1.231 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.236e-05/0.6365, allocations: 40 kB / 1.231 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.638, allocations: 0.6263 MB / 1.231 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.638, allocations: 4 kB / 1.231 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.538e-05/0.6381, allocations: 20 kB / 1.231 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.892e-05/0.6382, allocations: 17 kB / 1.231 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.6398, allocations: 0.5581 MB / 1.232 GB, free: 15.31 MB / 0.9981 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.004808/0.6446, allocations: 2.284 MB / 1.234 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.6457, allocations: 294.3 kB / 1.235 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006152/0.6463, allocations: 168.7 kB / 1.235 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.6463, allocations: 0 / 1.235 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.6464, allocations: 42.56 kB / 1.235 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.683e-06/0.6464, allocations: 0 / 1.235 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.005755/0.6521, allocations: 1.107 MB / 1.236 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.6522, allocations: 84.98 kB / 1.236 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007922/0.653, allocations: 0.5496 MB / 1.236 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.983e-05/0.6531, allocations: 25.7 kB / 1.236 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/0.6533, allocations: 311.4 kB / 1.237 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.746e-05/0.6534, allocations: 35.55 kB / 1.237 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.6536, allocations: 65.59 kB / 1.237 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.6537, allocations: 350.8 kB / 1.237 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006425/0.6544, allocations: 191.8 kB / 1.237 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006662/0.6551, allocations: 273.8 kB / 1.238 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.6563, allocations: 423 kB / 1.238 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.6563, allocations: 0 / 1.238 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00305/0.6594, allocations: 0.7395 MB / 1.239 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.6594, allocations: 4 kB / 1.239 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.6594, allocations: 4 kB / 1.239 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007043/0.6601, allocations: 180.8 kB / 1.239 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004209/0.6606, allocations: 83.86 kB / 1.239 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004215/0.6648, allocations: 2.084 MB / 1.241 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007865/0.6656, allocations: 87.53 kB / 1.241 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.6657, allocations: 8 kB / 1.241 GB, free: 5.535 MB / 0.9981 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.0003398/0.666, allocations: 189.8 kB / 1.241 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.6661, allocations: 51.44 kB / 1.241 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.6663, allocations: 52.03 kB / 1.241 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.6663, allocations: 3.938 kB / 1.241 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.6663, allocations: 3.938 kB / 1.241 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.6663, allocations: 0 / 1.241 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003279/0.6696, allocations: 1.156 MB / 1.243 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.6696, allocations: 4 kB / 1.243 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/0.6698, allocations: 35.95 kB / 1.243 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005841/0.6704, allocations: 188.7 kB / 1.243 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.6705, allocations: 4 kB / 1.243 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00364/0.6741, allocations: 2.034 MB / 1.245 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.6741, allocations: 0 / 1.245 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002698/0.6768, allocations: 0.7079 MB / 1.245 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003109/0.6772, allocations: 168.4 kB / 1.246 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.718e-05/0.6773, allocations: 4 kB / 1.246 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006348/0.6779, allocations: 51.94 kB / 1.246 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.765e-05/0.678, allocations: 23.91 kB / 1.246 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.901e-05/0.678, allocations: 15.92 kB / 1.246 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005401/0.6786, allocations: 390.8 kB / 1.246 GB, free: 212 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6786, allocations: 4 kB / 1.246 GB, free: 208 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007624/0.6794, allocations: 195.7 kB / 1.246 GB, free: 12 kB / 0.9981 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.6097/1.289, allocations: 1.313 MB / 1.248 GB, free: 194 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001848/1.291, allocations: 0.5312 MB / 1.248 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.291, allocations: 5.25 kB / 1.248 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007968/1.292, allocations: 303.1 kB / 1.248 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/1.293, allocations: 295.5 kB / 1.249 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/1.305, allocations: 5.316 MB / 1.254 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/1.306, allocations: 0.8565 MB / 1.255 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005666/1.306, allocations: 109.5 kB / 1.255 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/1.306, allocations: 163.1 kB / 1.255 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of SimCode: time 7.81e-07/1.306, allocations: 3.938 kB / 1.255 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03782/1.344, allocations: 16.08 MB / 1.271 GB, free: 188 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/1.344, allocations: 311.9 kB / 1.271 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.133/3.477, allocations: 0.75 kB / 1.271 GB, free: 187.6 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches