Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.001204/0.001204, allocations: 108.2 kB / 17.54 MB, free: 4.746 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.001208/0.001208, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.28/1.28, allocations: 225.6 MB / 249.3 MB, free: 3.34 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.466/2.466, allocations: 476.7 MB / 0.7628 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.MixingVolumeHeatConduction,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 75.86 kB / 1.107 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7453/0.747, allocations: 168.7 MB / 1.271 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1822/0.9292, allocations: 171.8 MB / 1.439 GB, free: 7.109 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.006275/0.9355, allocations: 4.338 MB / 1.443 GB, free: 3.602 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006822/0.9362, allocations: 22.66 kB / 1.443 GB, free: 3.594 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0009981/0.9372, allocations: 370.5 kB / 1.444 GB, free: 3.301 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002818/0.94, allocations: 1.268 MB / 1.445 GB, free: 2.32 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.942, allocations: 0.8064 MB / 1.446 GB, free: 1.711 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002125/0.9441, allocations: 1.693 MB / 1.447 GB, free: 404 kB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000685/0.9448, allocations: 455.7 kB / 1.448 GB, free: 15.94 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.946, allocations: 0.7122 MB / 1.449 GB, free: 15.23 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/0.9472, allocations: 0.5958 MB / 1.449 GB, free: 14.64 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.9474, allocations: 68 kB / 1.449 GB, free: 14.57 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/0.9491, allocations: 0.8495 MB / 1.45 GB, free: 13.72 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003029/0.9494, allocations: 271.2 kB / 1.45 GB, free: 13.45 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0004547/0.9498, allocations: 406.3 kB / 1.451 GB, free: 13.05 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001795/0.9516, allocations: 1.277 MB / 1.452 GB, free: 11.77 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.9516, allocations: 0 / 1.452 GB, free: 11.77 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9516, allocations: 0 / 1.452 GB, free: 11.77 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.9516, allocations: 0 / 1.452 GB, free: 11.77 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001769/0.9534, allocations: 1.059 MB / 1.453 GB, free: 10.66 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.9534, allocations: 8.031 kB / 1.453 GB, free: 10.65 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001155/0.9536, allocations: 98.52 kB / 1.453 GB, free: 10.55 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000942/0.9545, allocations: 167.5 kB / 1.453 GB, free: 10.38 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007834/0.9553, allocations: 0.5409 MB / 1.454 GB, free: 9.805 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.636e-05/0.9553, allocations: 45.25 kB / 1.454 GB, free: 9.762 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.715e-05/0.9554, allocations: 48 kB / 1.454 GB, free: 9.715 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.9565, allocations: 0.6518 MB / 1.455 GB, free: 9.047 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.9565, allocations: 0 / 1.455 GB, free: 9.047 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.181e-05/0.9565, allocations: 28 kB / 1.455 GB, free: 9.02 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.598e-05/0.9566, allocations: 25.3 kB / 1.455 GB, free: 8.992 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008985/0.9575, allocations: 0.5087 MB / 1.455 GB, free: 8.48 MB / 1.139 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.003173/0.9607, allocations: 2.298 MB / 1.457 GB, free: 6.02 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005098/0.9612, allocations: 254.7 kB / 1.458 GB, free: 5.762 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.9614, allocations: 124.7 kB / 1.458 GB, free: 5.637 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.9614, allocations: 4 kB / 1.458 GB, free: 5.633 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.9615, allocations: 38.56 kB / 1.458 GB, free: 5.586 MB / 1.139 GB Notification: Performance of pre-optimization done (n=20): time 1.933e-06/0.9615, allocations: 4 kB / 1.458 GB, free: 5.582 MB / 1.139 GB Notification: Performance of matching and sorting (n=20): time 0.001634/0.9631, allocations: 0.6669 MB / 1.458 GB, free: 4.867 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.9632, allocations: 77.11 kB / 1.458 GB, free: 4.773 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006284/0.9638, allocations: 0.5574 MB / 1.459 GB, free: 4.207 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.9638, allocations: 33.7 kB / 1.459 GB, free: 4.168 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000255/0.9641, allocations: 347.7 kB / 1.459 GB, free: 3.824 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 6.93e-05/0.9641, allocations: 67.44 kB / 1.459 GB, free: 3.758 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.9643, allocations: 73.92 kB / 1.459 GB, free: 3.68 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.9644, allocations: 362.7 kB / 1.46 GB, free: 3.316 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.9647, allocations: 128.6 kB / 1.46 GB, free: 3.191 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.965, allocations: 218.6 kB / 1.46 GB, free: 2.945 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005717/0.9656, allocations: 344.8 kB / 1.46 GB, free: 2.578 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.9656, allocations: 0 / 1.46 GB, free: 2.578 MB / 1.139 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001038/0.9667, allocations: 494.9 kB / 1.461 GB, free: 2.082 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.9667, allocations: 12 kB / 1.461 GB, free: 2.07 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.9667, allocations: 0 / 1.461 GB, free: 2.07 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000367/0.9671, allocations: 97.59 kB / 1.461 GB, free: 1.969 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/0.9674, allocations: 67.91 kB / 1.461 GB, free: 1.902 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003415/0.9708, allocations: 3.351 MB / 1.464 GB, free: 14.27 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005198/0.9713, allocations: 51.61 kB / 1.464 GB, free: 14.21 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/0.9714, allocations: 16 kB / 1.464 GB, free: 14.2 MB / 1.154 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000288/0.9716, allocations: 213.7 kB / 1.465 GB, free: 13.98 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.9717, allocations: 55.67 kB / 1.465 GB, free: 13.93 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.582e-05/0.9718, allocations: 56.5 kB / 1.465 GB, free: 13.87 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.9718, allocations: 4 kB / 1.465 GB, free: 13.87 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.9718, allocations: 7.938 kB / 1.465 GB, free: 13.86 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007202/0.9726, allocations: 0.5326 MB / 1.465 GB, free: 13.26 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.9738, allocations: 0.9125 MB / 1.466 GB, free: 12.28 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.9738, allocations: 0 / 1.466 GB, free: 12.28 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.974, allocations: 47.97 kB / 1.466 GB, free: 12.23 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001889/0.9742, allocations: 61 kB / 1.466 GB, free: 12.17 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.9742, allocations: 11.98 kB / 1.466 GB, free: 12.16 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/0.9759, allocations: 1.821 MB / 1.468 GB, free: 10.2 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.9759, allocations: 11.98 kB / 1.468 GB, free: 10.19 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000629/0.9766, allocations: 425.7 kB / 1.469 GB, free: 9.746 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002044/0.9768, allocations: 172.7 kB / 1.469 GB, free: 9.559 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.359e-05/0.9768, allocations: 11.94 kB / 1.469 GB, free: 9.547 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004113/0.9772, allocations: 20.73 kB / 1.469 GB, free: 9.527 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.477e-05/0.9773, allocations: 19.97 kB / 1.469 GB, free: 9.508 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.866e-05/0.9774, allocations: 11.98 kB / 1.469 GB, free: 9.496 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004337/0.9778, allocations: 398.8 kB / 1.469 GB, free: 9.109 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.9778, allocations: 3.938 kB / 1.469 GB, free: 9.105 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005949/0.9784, allocations: 203.7 kB / 1.469 GB, free: 8.906 MB / 1.154 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 (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001173/0.9796, allocations: 1.04 MB / 1.47 GB, free: 7.84 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0008731/0.9804, allocations: 0.5285 MB / 1.471 GB, free: 7.285 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.9804, allocations: 0 / 1.471 GB, free: 7.285 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000357/0.9808, allocations: 255.2 kB / 1.471 GB, free: 7.023 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.9823, allocations: 371.8 kB / 1.471 GB, free: 6.672 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005741/0.9881, allocations: 4.469 MB / 1.476 GB, free: 2.035 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/0.9886, allocations: 0.9132 MB / 1.477 GB, free: 1.094 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0003731/0.9889, allocations: 112.8 kB / 1.477 GB, free: 0.9805 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/0.9892, allocations: 191.4 kB / 1.477 GB, free: 0.793 MB / 1.154 GB Notification: Performance of SimCode: time 4.71e-07/0.9892, allocations: 0 / 1.477 GB, free: 0.793 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05027/1.039, allocations: 17.91 MB / 1.494 GB, free: 15.2 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/12.48, allocations: 3.25 kB / 1.494 GB, free: 15.2 MB / 1.186 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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: 17.726711700999658]