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.001903/0.001903, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.002069/0.002069, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.513/1.513, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] 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.845/2.845, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 176] 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.001949/0.001949, allocations: 63.89 kB / 1.104 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037/1.039, allocations: 168.7 MB / 1.269 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2209/1.26, allocations: 171.6 MB / 1.436 GB, free: 8.871 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.008204/1.268, allocations: 4.314 MB / 1.441 GB, free: 4.551 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/1.27, allocations: 23.88 kB / 1.441 GB, free: 4.527 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001298/1.271, allocations: 373.9 kB / 1.441 GB, free: 4.16 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003754/1.275, allocations: 1.256 MB / 1.442 GB, free: 2.898 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002474/1.277, allocations: 0.8009 MB / 1.443 GB, free: 2.102 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002788/1.28, allocations: 1.695 MB / 1.445 GB, free: 408 kB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008553/1.281, allocations: 487.7 kB / 1.445 GB, free: 15.92 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001478/1.282, allocations: 0.7162 MB / 1.446 GB, free: 15.2 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001471/1.284, allocations: 0.5915 MB / 1.446 GB, free: 14.61 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001315/1.284, allocations: 64 kB / 1.446 GB, free: 14.55 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001785/1.286, allocations: 0.8457 MB / 1.447 GB, free: 13.7 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003258/1.286, allocations: 275.1 kB / 1.447 GB, free: 13.43 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005202/1.287, allocations: 402.3 kB / 1.448 GB, free: 13.04 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002128/1.289, allocations: 1.277 MB / 1.449 GB, free: 11.75 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.289, allocations: 4 kB / 1.449 GB, free: 11.75 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.804e-06/1.289, allocations: 0 / 1.449 GB, free: 11.75 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.192e-05/1.289, allocations: 0 / 1.449 GB, free: 11.75 MB / 1.154 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.002105/1.291, allocations: 1.053 MB / 1.45 GB, free: 10.64 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/1.291, allocations: 16.02 kB / 1.45 GB, free: 10.63 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001307/1.291, allocations: 94.52 kB / 1.45 GB, free: 10.53 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/1.292, allocations: 159.4 kB / 1.45 GB, free: 10.37 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/1.293, allocations: 0.5565 MB / 1.451 GB, free: 9.777 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.446e-05/1.293, allocations: 41.31 kB / 1.451 GB, free: 9.738 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.753e-05/1.293, allocations: 52 kB / 1.451 GB, free: 9.688 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/1.294, allocations: 0.644 MB / 1.452 GB, free: 9.027 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/1.294, allocations: 0 / 1.452 GB, free: 9.027 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.699e-05/1.294, allocations: 27.98 kB / 1.452 GB, free: 9 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.36e-05/1.294, allocations: 29.25 kB / 1.452 GB, free: 8.969 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009764/1.295, allocations: 0.5087 MB / 1.452 GB, free: 8.457 MB / 1.154 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.003767/1.299, allocations: 2.302 MB / 1.454 GB, free: 5.992 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005378/1.3, allocations: 238.8 kB / 1.455 GB, free: 5.75 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002514/1.3, allocations: 137.7 kB / 1.455 GB, free: 5.613 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/1.3, allocations: 4 kB / 1.455 GB, free: 5.609 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/1.3, allocations: 34.56 kB / 1.455 GB, free: 5.566 MB / 1.154 GB Notification: Performance of pre-optimization done (n=20): time 2.264e-06/1.3, allocations: 0 / 1.455 GB, free: 5.566 MB / 1.154 GB Notification: Performance of matching and sorting (n=20): time 0.001789/1.302, allocations: 0.6652 MB / 1.456 GB, free: 4.852 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/1.302, allocations: 85.09 kB / 1.456 GB, free: 4.75 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007262/1.303, allocations: 0.5574 MB / 1.456 GB, free: 4.184 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/1.303, allocations: 33.7 kB / 1.456 GB, free: 4.145 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/1.303, allocations: 343.7 kB / 1.456 GB, free: 3.805 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.638e-05/1.303, allocations: 67.44 kB / 1.457 GB, free: 3.738 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/1.303, allocations: 73.97 kB / 1.457 GB, free: 3.66 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002017/1.303, allocations: 366.7 kB / 1.457 GB, free: 3.293 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002675/1.304, allocations: 124.6 kB / 1.457 GB, free: 3.172 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003306/1.304, allocations: 226.5 kB / 1.457 GB, free: 2.918 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00055/1.305, allocations: 332.9 kB / 1.458 GB, free: 2.562 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/1.305, allocations: 0 / 1.458 GB, free: 2.562 MB / 1.154 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009727/1.306, allocations: 0.4909 MB / 1.458 GB, free: 2.059 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/1.306, allocations: 10.34 kB / 1.458 GB, free: 2.051 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/1.306, allocations: 0 / 1.458 GB, free: 2.051 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003316/1.306, allocations: 93.81 kB / 1.458 GB, free: 1.953 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/1.306, allocations: 75.89 kB / 1.458 GB, free: 1.879 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003534/1.31, allocations: 3.353 MB / 1.462 GB, free: 14.24 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005702/1.31, allocations: 47.62 kB / 1.462 GB, free: 14.2 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/1.31, allocations: 12 kB / 1.462 GB, free: 14.18 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 (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.0003896/1.311, allocations: 223.3 kB / 1.462 GB, free: 13.96 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/1.311, allocations: 55.67 kB / 1.462 GB, free: 13.9 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/1.311, allocations: 56.5 kB / 1.462 GB, free: 13.85 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/1.311, allocations: 7.938 kB / 1.462 GB, free: 13.84 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.311, allocations: 3.938 kB / 1.462 GB, free: 13.84 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007942/1.312, allocations: 0.5283 MB / 1.462 GB, free: 13.24 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/1.313, allocations: 0.9105 MB / 1.463 GB, free: 12.26 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.313, allocations: 0 / 1.463 GB, free: 12.26 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/1.313, allocations: 43.91 kB / 1.463 GB, free: 12.22 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000222/1.314, allocations: 72.86 kB / 1.463 GB, free: 12.14 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/1.314, allocations: 4 kB / 1.463 GB, free: 12.14 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001923/1.316, allocations: 1.825 MB / 1.465 GB, free: 10.18 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.316, allocations: 0 / 1.465 GB, free: 10.18 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00072/1.316, allocations: 435 kB / 1.466 GB, free: 9.727 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003099/1.317, allocations: 176.7 kB / 1.466 GB, free: 9.535 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.817e-05/1.317, allocations: 3.938 kB / 1.466 GB, free: 9.531 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004103/1.317, allocations: 20.8 kB / 1.466 GB, free: 9.512 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.013e-05/1.317, allocations: 27.84 kB / 1.466 GB, free: 9.484 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.462e-05/1.317, allocations: 15.98 kB / 1.466 GB, free: 9.469 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0005118/1.318, allocations: 406.8 kB / 1.466 GB, free: 9.074 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.318, allocations: 0 / 1.466 GB, free: 9.074 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0007278/1.318, allocations: 199.7 kB / 1.466 GB, free: 8.879 MB / 1.17 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.001386/1.32, allocations: 1.035 MB / 1.467 GB, free: 7.82 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0009887/1.321, allocations: 0.5272 MB / 1.468 GB, free: 7.27 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.321, allocations: 64 / 1.468 GB, free: 7.27 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003789/1.321, allocations: 250.5 kB / 1.468 GB, free: 7.012 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/1.323, allocations: 375.9 kB / 1.469 GB, free: 6.652 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006743/1.33, allocations: 4.466 MB / 1.473 GB, free: 2.016 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005997/1.33, allocations: 0.9093 MB / 1.474 GB, free: 1.078 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0005012/1.331, allocations: 112.8 kB / 1.474 GB, free: 0.9648 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/1.331, allocations: 191.4 kB / 1.474 GB, free: 0.7773 MB / 1.17 GB Notification: Performance of SimCode: time 1.102e-06/1.331, allocations: 0 / 1.474 GB, free: 0.7773 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07821/1.409, allocations: 17.87 MB / 1.492 GB, free: 15.29 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/14.74, allocations: 2.781 kB / 1.492 GB, free: 15.29 MB / 1.201 GB " [Timeout remaining time 285] (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 --stepSize=0.0004 --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_2/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: 21.146286992821842]