Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00293/0.00293, allocations: 218 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.774/2.774, allocations: 476.7 MB / 0.7714 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 63.09 kB / 1.118 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.322, allocations: 169.9 MB / 1.284 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2141/0.5361, allocations: 174.7 MB / 1.455 GB, free: 12.29 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.007323/0.5434, allocations: 4.32 MB / 1.459 GB, free: 7.957 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008571/0.5443, allocations: 31.75 kB / 1.459 GB, free: 7.926 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.5454, allocations: 366 kB / 1.459 GB, free: 7.566 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002791/0.5482, allocations: 1.05 MB / 1.46 GB, free: 6.512 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002597/0.5508, allocations: 0.8415 MB / 1.461 GB, free: 5.68 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002366/0.5531, allocations: 1.325 MB / 1.462 GB, free: 4.352 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008408/0.554, allocations: 380 kB / 1.463 GB, free: 3.977 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001792/0.5558, allocations: 0.7161 MB / 1.464 GB, free: 3.258 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.5574, allocations: 490.1 kB / 1.464 GB, free: 2.777 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002095/0.5576, allocations: 52 kB / 1.464 GB, free: 2.727 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/0.5597, allocations: 0.951 MB / 1.465 GB, free: 1.773 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003681/0.56, allocations: 219.3 kB / 1.465 GB, free: 1.559 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006062/0.5606, allocations: 330.5 kB / 1.465 GB, free: 1.234 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002454/0.5631, allocations: 1.141 MB / 1.467 GB, free: 92 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.5631, allocations: 0 / 1.467 GB, free: 92 kB / 1.154 GB Notification: Performance of FrontEnd: time 1.983e-06/0.5631, allocations: 0 / 1.467 GB, free: 92 kB / 1.154 GB Notification: Performance of Transformations before backend: time 2.803e-05/0.5631, allocations: 0 / 1.467 GB, free: 92 kB / 1.154 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.002249/0.5654, allocations: 0.8976 MB / 1.467 GB, free: 15.15 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.5654, allocations: 8.031 kB / 1.467 GB, free: 15.14 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.433e-05/0.5655, allocations: 17 kB / 1.467 GB, free: 15.13 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001341/0.5656, allocations: 82.53 kB / 1.468 GB, free: 15.04 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/0.5673, allocations: 263.3 kB / 1.468 GB, free: 14.78 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.5684, allocations: 442.5 kB / 1.468 GB, free: 14.32 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.081e-05/0.5685, allocations: 33 kB / 1.468 GB, free: 14.29 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.235e-05/0.5686, allocations: 40 kB / 1.468 GB, free: 14.25 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.57, allocations: 0.6185 MB / 1.469 GB, free: 13.61 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.57, allocations: 0 / 1.469 GB, free: 13.61 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-05/0.57, allocations: 16 kB / 1.469 GB, free: 13.6 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.695e-05/0.5701, allocations: 21 kB / 1.469 GB, free: 13.57 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/0.5716, allocations: 0.5425 MB / 1.469 GB, free: 13.04 MB / 1.17 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.004532/0.5761, allocations: 2.229 MB / 1.472 GB, free: 10.68 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009739/0.5771, allocations: 286.3 kB / 1.472 GB, free: 10.39 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005489/0.5776, allocations: 160.7 kB / 1.472 GB, free: 10.23 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.5777, allocations: 0 / 1.472 GB, free: 10.23 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.5777, allocations: 42.5 kB / 1.472 GB, free: 10.18 MB / 1.17 GB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.5777, allocations: 0 / 1.472 GB, free: 10.18 MB / 1.17 GB Notification: Performance of matching and sorting (n=11): time 0.005304/0.583, allocations: 1.017 MB / 1.473 GB, free: 9.156 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.5831, allocations: 84.98 kB / 1.473 GB, free: 9.055 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008158/0.5839, allocations: 0.5535 MB / 1.474 GB, free: 8.492 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.346e-05/0.584, allocations: 25.7 kB / 1.474 GB, free: 8.461 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/0.5843, allocations: 308.1 kB / 1.474 GB, free: 8.156 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.398e-05/0.5843, allocations: 39.69 kB / 1.474 GB, free: 8.117 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.5845, allocations: 69.64 kB / 1.474 GB, free: 8.043 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.5847, allocations: 354.8 kB / 1.474 GB, free: 7.688 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006344/0.5853, allocations: 183.8 kB / 1.475 GB, free: 7.508 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006912/0.586, allocations: 266.5 kB / 1.475 GB, free: 7.215 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.5873, allocations: 407.2 kB / 1.475 GB, free: 6.789 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/0.5873, allocations: 0 / 1.475 GB, free: 6.789 MB / 1.17 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002965/0.5902, allocations: 0.7319 MB / 1.476 GB, free: 6.047 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.5903, allocations: 6.656 kB / 1.476 GB, free: 6.043 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.5903, allocations: 4 kB / 1.476 GB, free: 6.039 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006696/0.5909, allocations: 184.7 kB / 1.476 GB, free: 5.855 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000382/0.5913, allocations: 75.88 kB / 1.476 GB, free: 5.781 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004326/0.5957, allocations: 2.134 MB / 1.478 GB, free: 3.535 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000678/0.5963, allocations: 71.62 kB / 1.478 GB, free: 3.465 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.557e-05/0.5964, allocations: 16 kB / 1.478 GB, free: 3.449 MB / 1.17 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.000336/0.5967, allocations: 185.8 kB / 1.479 GB, free: 3.258 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.5969, allocations: 55.61 kB / 1.479 GB, free: 3.203 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.597, allocations: 52.03 kB / 1.479 GB, free: 3.152 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.597, allocations: 4 kB / 1.479 GB, free: 3.148 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.597, allocations: 0 / 1.479 GB, free: 3.148 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.597, allocations: 4 kB / 1.479 GB, free: 3.145 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00332/0.6003, allocations: 1.108 MB / 1.48 GB, free: 1.977 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.6003, allocations: 0 / 1.48 GB, free: 1.977 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.6006, allocations: 36.23 kB / 1.48 GB, free: 1.941 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005943/0.6012, allocations: 192.7 kB / 1.48 GB, free: 1.75 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/0.6012, allocations: 4 kB / 1.48 GB, free: 1.746 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004151/0.6054, allocations: 2.084 MB / 1.482 GB, free: 15.54 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6054, allocations: 0 / 1.482 GB, free: 15.54 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002702/0.6081, allocations: 0.6969 MB / 1.483 GB, free: 14.82 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004012/0.6085, allocations: 99.55 kB / 1.483 GB, free: 14.72 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.6086, allocations: 7.938 kB / 1.483 GB, free: 14.71 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006557/0.6093, allocations: 47.94 kB / 1.483 GB, free: 14.67 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.6094, allocations: 16.11 kB / 1.483 GB, free: 14.65 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.864e-05/0.6094, allocations: 15.98 kB / 1.483 GB, free: 14.64 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006/0.61, allocations: 394.8 kB / 1.483 GB, free: 14.25 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.61, allocations: 0 / 1.483 GB, free: 14.25 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0007563/0.6108, allocations: 179.8 kB / 1.483 GB, free: 14.08 MB / 1.186 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.003313/0.6141, allocations: 1.308 MB / 1.485 GB, free: 12.73 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001774/0.6159, allocations: 0.5243 MB / 1.485 GB, free: 12.2 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.6159, allocations: 0 / 1.485 GB, free: 12.2 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0008149/0.6167, allocations: 291 kB / 1.486 GB, free: 11.9 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/0.6184, allocations: 303.4 kB / 1.486 GB, free: 11.61 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01287/0.6313, allocations: 5.095 MB / 1.491 GB, free: 6.355 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006023/0.6319, allocations: 0.8659 MB / 1.492 GB, free: 5.461 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0004908/0.6324, allocations: 96.53 kB / 1.492 GB, free: 5.363 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/0.6327, allocations: 167.3 kB / 1.492 GB, free: 5.199 MB / 1.186 GB Notification: Performance of SimCode: time 1.853e-06/0.6327, allocations: 0 / 1.492 GB, free: 5.199 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05048/0.6832, allocations: 17.2 MB / 1.509 GB, free: 4.332 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.92/14.6, allocations: 8.062 kB / 1.509 GB, free: 4.324 MB / 1.201 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 21.31359044200508]