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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 104.4 kB / 16.45 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 195.7 kB / 19.41 MB, free: 3.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.213/3.213, allocations: 497.2 MB / 0.7811 GB, free: 33.74 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 67.58 kB / 1.134 GB, free: 33.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.347, allocations: 173.9 MB / 1.304 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2213/0.5682, allocations: 171.6 MB / 1.472 GB, free: 5.285 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.00894/0.5772, allocations: 4.306 MB / 1.476 GB, free: 0.9688 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/0.5784, allocations: 23.88 kB / 1.476 GB, free: 0.9453 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001711/0.5801, allocations: 362 kB / 1.476 GB, free: 0.5898 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003947/0.5841, allocations: 1.034 MB / 1.477 GB, free: 15.55 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002977/0.587, allocations: 0.8223 MB / 1.478 GB, free: 14.73 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002616/0.5897, allocations: 1.29 MB / 1.479 GB, free: 13.44 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009322/0.5906, allocations: 407.3 kB / 1.48 GB, free: 13.04 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002106/0.5927, allocations: 0.7239 MB / 1.48 GB, free: 12.31 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001729/0.5944, allocations: 484 kB / 1.481 GB, free: 11.84 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002773/0.5947, allocations: 56 kB / 1.481 GB, free: 11.78 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002347/0.5971, allocations: 0.9432 MB / 1.482 GB, free: 10.84 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004178/0.5975, allocations: 219.3 kB / 1.482 GB, free: 10.62 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000708/0.5982, allocations: 322.6 kB / 1.482 GB, free: 10.3 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002804/0.601, allocations: 1.145 MB / 1.483 GB, free: 9.156 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.601, allocations: 0 / 1.483 GB, free: 9.156 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.933e-06/0.601, allocations: 0 / 1.483 GB, free: 9.156 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.843e-05/0.601, allocations: 0 / 1.483 GB, free: 9.156 MB / 1.186 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.002854/0.6039, allocations: 0.9727 MB / 1.484 GB, free: 8.133 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/0.6039, allocations: 12.92 kB / 1.484 GB, free: 8.121 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002107/0.6042, allocations: 78.53 kB / 1.484 GB, free: 8.035 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001906/0.6061, allocations: 271.3 kB / 1.485 GB, free: 7.77 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.6073, allocations: 0.49 MB / 1.485 GB, free: 7.242 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.861e-05/0.6074, allocations: 37 kB / 1.485 GB, free: 7.207 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-05/0.6075, allocations: 43.98 kB / 1.485 GB, free: 7.164 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.6089, allocations: 0.6107 MB / 1.486 GB, free: 6.531 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.6089, allocations: 0 / 1.486 GB, free: 6.531 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.009e-05/0.609, allocations: 24 kB / 1.486 GB, free: 6.508 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.98e-05/0.6091, allocations: 21 kB / 1.486 GB, free: 6.484 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/0.6106, allocations: 0.5464 MB / 1.486 GB, free: 5.938 MB / 1.186 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.004791/0.6154, allocations: 2.273 MB / 1.489 GB, free: 3.531 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009774/0.6164, allocations: 274.3 kB / 1.489 GB, free: 3.254 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005527/0.6169, allocations: 172.6 kB / 1.489 GB, free: 3.082 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.617, allocations: 0 / 1.489 GB, free: 3.082 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.617, allocations: 38.56 kB / 1.489 GB, free: 3.035 MB / 1.186 GB Notification: Performance of pre-optimization done (n=11): time 1.492e-06/0.617, allocations: 0 / 1.489 GB, free: 3.035 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.005515/0.6225, allocations: 1.096 MB / 1.49 GB, free: 1.91 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.6226, allocations: 77.11 kB / 1.49 GB, free: 1.816 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008623/0.6234, allocations: 0.5573 MB / 1.491 GB, free: 1.25 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.261e-05/0.6235, allocations: 25.7 kB / 1.491 GB, free: 1.219 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002954/0.6238, allocations: 304.1 kB / 1.491 GB, free: 0.918 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 6.624e-05/0.6239, allocations: 43.62 kB / 1.491 GB, free: 0.875 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.624, allocations: 65.64 kB / 1.491 GB, free: 0.8047 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.6242, allocations: 346.8 kB / 1.491 GB, free: 468 kB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006148/0.6248, allocations: 195.8 kB / 1.492 GB, free: 272 kB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006782/0.6255, allocations: 262.8 kB / 1.492 GB, free: 15.98 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.6267, allocations: 412.2 kB / 1.492 GB, free: 15.54 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.6267, allocations: 4 kB / 1.492 GB, free: 15.54 MB / 1.201 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002906/0.6296, allocations: 0.7296 MB / 1.493 GB, free: 14.8 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.6296, allocations: 4 kB / 1.493 GB, free: 14.8 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.6296, allocations: 4.094 kB / 1.493 GB, free: 14.79 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007102/0.6303, allocations: 188.6 kB / 1.493 GB, free: 14.61 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/0.6308, allocations: 75.88 kB / 1.493 GB, free: 14.53 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004442/0.6352, allocations: 2.233 MB / 1.495 GB, free: 12.16 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007762/0.636, allocations: 71.62 kB / 1.496 GB, free: 12.09 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.728e-05/0.636, allocations: 16 kB / 1.496 GB, free: 12.08 MB / 1.201 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.0003672/0.6364, allocations: 189.7 kB / 1.496 GB, free: 11.88 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.6365, allocations: 55.67 kB / 1.496 GB, free: 11.83 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.6367, allocations: 55.97 kB / 1.496 GB, free: 11.77 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.6367, allocations: 0 / 1.496 GB, free: 11.77 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.6367, allocations: 4 kB / 1.496 GB, free: 11.77 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.6367, allocations: 3.984 kB / 1.496 GB, free: 11.76 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00343/0.6401, allocations: 1.121 MB / 1.497 GB, free: 10.57 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.6401, allocations: 8.062 kB / 1.497 GB, free: 10.57 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/0.6404, allocations: 35.95 kB / 1.497 GB, free: 10.53 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005905/0.641, allocations: 180.7 kB / 1.497 GB, free: 10.35 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.641, allocations: 7.984 kB / 1.497 GB, free: 10.34 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004104/0.6451, allocations: 2.183 MB / 1.499 GB, free: 8.02 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6451, allocations: 0 / 1.499 GB, free: 8.02 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002805/0.6479, allocations: 0.7081 MB / 1.5 GB, free: 7.285 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004651/0.6484, allocations: 168.7 kB / 1.5 GB, free: 7.102 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.472e-05/0.6485, allocations: 8 kB / 1.5 GB, free: 7.094 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006207/0.6491, allocations: 54.92 kB / 1.5 GB, free: 7.043 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.838e-05/0.6492, allocations: 11.98 kB / 1.5 GB, free: 7.031 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-05/0.6492, allocations: 15.98 kB / 1.5 GB, free: 7.016 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0005716/0.6498, allocations: 394.8 kB / 1.501 GB, free: 6.633 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.6498, allocations: 0 / 1.501 GB, free: 6.633 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008084/0.6506, allocations: 183.7 kB / 1.501 GB, free: 6.453 MB / 1.201 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.003568/0.6542, allocations: 1.332 MB / 1.502 GB, free: 5.098 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001779/0.656, allocations: 0.514 MB / 1.503 GB, free: 4.57 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.656, allocations: 0 / 1.503 GB, free: 4.57 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0007709/0.6567, allocations: 298.9 kB / 1.503 GB, free: 4.266 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.6585, allocations: 301.3 kB / 1.503 GB, free: 3.977 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01376/0.6722, allocations: 5.083 MB / 1.508 GB, free: 14.72 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006042/0.6728, allocations: 0.8621 MB / 1.509 GB, free: 13.83 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0005656/0.6734, allocations: 96.52 kB / 1.509 GB, free: 13.73 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/0.6737, allocations: 167.4 kB / 1.509 GB, free: 13.57 MB / 1.217 GB Notification: Performance of SimCode: time 1.253e-06/0.6737, allocations: 0 / 1.509 GB, free: 13.57 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06035/0.734, allocations: 16.99 MB / 1.526 GB, free: 12.94 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.44, allocations: 6.375 kB / 1.526 GB, free: 12.94 MB / 1.232 GB " [Timeout remaining time 286] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.335850146133453]