Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.001128/0.001128, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001244/0.001244, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8258/0.8258, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.66/1.66, allocations: 377.8 MB / 0.6221 GB, free: 8.688 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.MixingVolumeHeatConduction,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.9809 GB, free: 1.484 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.321e-05/1.46e-05, allocations: 6.281 kB / 0.9809 GB, free: 1.477 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5155/0.5155, allocations: 150.9 MB / 1.128 GB, free: 13.05 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.004033/0.5195, allocations: 4.039 MB / 1.132 GB, free: 10.33 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002627/0.5198, allocations: 30.91 kB / 1.132 GB, free: 10.32 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0006401/0.5204, allocations: 338.7 kB / 1.133 GB, free: 10.09 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001725/0.5222, allocations: 1.32 MB / 1.134 GB, free: 9.07 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.5232, allocations: 0.8326 MB / 1.135 GB, free: 8.441 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001316/0.5245, allocations: 1.759 MB / 1.136 GB, free: 7.398 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004674/0.525, allocations: 434.5 kB / 1.137 GB, free: 7.105 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000946/0.526, allocations: 0.9916 MB / 1.138 GB, free: 6.488 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00098/0.5269, allocations: 0.5189 MB / 1.138 GB, free: 6.207 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 7.064e-05/0.527, allocations: 65.59 kB / 1.138 GB, free: 6.207 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007239/0.5277, allocations: 0.6714 MB / 1.139 GB, free: 5.855 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.5279, allocations: 292.1 kB / 1.139 GB, free: 5.656 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0002187/0.5281, allocations: 292.2 kB / 1.14 GB, free: 5.523 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0009861/0.5291, allocations: 1.301 MB / 1.141 GB, free: 4.68 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5291, allocations: 1.156 kB / 1.141 GB, free: 4.68 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5291, allocations: 4 kB / 1.141 GB, free: 4.676 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.5291, allocations: 0 / 1.141 GB, free: 4.676 MB / 0.9792 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.001132/0.5303, allocations: 0.9721 MB / 1.142 GB, free: 3.93 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.5303, allocations: 9.625 kB / 1.142 GB, free: 3.93 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.113e-05/0.5304, allocations: 99.14 kB / 1.142 GB, free: 3.844 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005097/0.5309, allocations: 166.2 kB / 1.142 GB, free: 3.77 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005245/0.5314, allocations: 491.4 kB / 1.143 GB, free: 3.398 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.5314, allocations: 38.28 kB / 1.143 GB, free: 3.383 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.382e-05/0.5315, allocations: 62.97 kB / 1.143 GB, free: 3.355 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007349/0.5322, allocations: 0.9978 MB / 1.144 GB, free: 2.531 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.5322, allocations: 0 / 1.144 GB, free: 2.531 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.887e-05/0.5323, allocations: 27.53 kB / 1.144 GB, free: 2.512 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.5323, allocations: 29.92 kB / 1.144 GB, free: 2.5 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005315/0.5328, allocations: 0.5059 MB / 1.144 GB, free: 2.254 MB / 0.9792 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.001699/0.5345, allocations: 1.663 MB / 1.146 GB, free: 1.086 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/0.5348, allocations: 251.2 kB / 1.146 GB, free: 0.9492 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.535, allocations: 122.6 kB / 1.146 GB, free: 0.8867 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.535, allocations: 6.438 kB / 1.146 GB, free: 0.8828 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.535, allocations: 37.38 kB / 1.146 GB, free: 0.8398 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.535, allocations: 0 / 1.146 GB, free: 0.8398 MB / 0.9792 GB Notification: Performance of matching and sorting (n=20): time 0.0008395/0.5358, allocations: 0.5213 MB / 1.147 GB, free: 0.5586 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.5359, allocations: 79.2 kB / 1.147 GB, free: 476 kB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003785/0.5363, allocations: 0.5691 MB / 1.147 GB, free: 124 kB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.5363, allocations: 32.3 kB / 1.147 GB, free: 88 kB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.5364, allocations: 341.3 kB / 1.148 GB, free: 15.79 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.5365, allocations: 69.3 kB / 1.148 GB, free: 15.73 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.249e-05/0.5366, allocations: 66.95 kB / 1.148 GB, free: 15.68 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.435e-05/0.5367, allocations: 361.5 kB / 1.148 GB, free: 15.33 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.5368, allocations: 136.6 kB / 1.148 GB, free: 15.26 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.537, allocations: 247.6 kB / 1.149 GB, free: 15.06 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.5373, allocations: 339.1 kB / 1.149 GB, free: 14.84 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5373, allocations: 3.031 kB / 1.149 GB, free: 14.84 MB / 0.9948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005087/0.5378, allocations: 499 kB / 1.149 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.5378, allocations: 8.344 kB / 1.149 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.5378, allocations: 0 / 1.149 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001749/0.538, allocations: 97.84 kB / 1.149 GB, free: 14.51 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.5381, allocations: 67.94 kB / 1.149 GB, free: 14.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/0.54, allocations: 3.126 MB / 1.153 GB, free: 11.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.5402, allocations: 45 kB / 1.153 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.5402, allocations: 13.97 kB / 1.153 GB, free: 11.54 MB / 0.9948 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.0001564/0.5403, allocations: 219.4 kB / 1.153 GB, free: 11.36 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.5405, allocations: 64.84 kB / 1.153 GB, free: 11.32 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.966e-05/0.5406, allocations: 52.42 kB / 1.153 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.5406, allocations: 2.719 kB / 1.153 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.5406, allocations: 0 / 1.153 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003852/0.5409, allocations: 0.5344 MB / 1.153 GB, free: 10.8 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006906/0.5416, allocations: 0.8182 MB / 1.154 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5416, allocations: 0 / 1.154 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.986e-05/0.5417, allocations: 43.62 kB / 1.154 GB, free: 10.19 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001018/0.5418, allocations: 60.84 kB / 1.154 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.5418, allocations: 6.906 kB / 1.154 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009196/0.5428, allocations: 1.715 MB / 1.156 GB, free: 8.602 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.5428, allocations: 3.938 kB / 1.156 GB, free: 8.598 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.5431, allocations: 430.6 kB / 1.156 GB, free: 8.305 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.5432, allocations: 99.64 kB / 1.157 GB, free: 8.238 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.5433, allocations: 2.781 kB / 1.157 GB, free: 8.238 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.5435, allocations: 20.3 kB / 1.157 GB, free: 8.23 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/0.5435, allocations: 29.25 kB / 1.157 GB, free: 8.207 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.5435, allocations: 16.08 kB / 1.157 GB, free: 8.199 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002631/0.5438, allocations: 399 kB / 1.157 GB, free: 7.969 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5438, allocations: 3.938 kB / 1.157 GB, free: 7.965 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003394/0.5441, allocations: 205 kB / 1.157 GB, free: 7.934 MB / 0.9948 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.0008818/0.545, allocations: 1.009 MB / 1.158 GB, free: 7.082 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0004971/0.5455, allocations: 0.5262 MB / 1.159 GB, free: 6.699 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5455, allocations: 2.594 kB / 1.159 GB, free: 6.699 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.5457, allocations: 250.6 kB / 1.159 GB, free: 6.512 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008594/0.5466, allocations: 384.7 kB / 1.159 GB, free: 6.32 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/0.5501, allocations: 4.45 MB / 1.164 GB, free: 3.34 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/0.5503, allocations: 318 kB / 1.164 GB, free: 3.133 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002244/0.5505, allocations: 114.4 kB / 1.164 GB, free: 3.082 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.5507, allocations: 193.5 kB / 1.164 GB, free: 2.922 MB / 0.9948 GB Notification: Performance of SimCode: time 7.22e-07/0.5507, allocations: 2.656 kB / 1.164 GB, free: 2.922 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02794/0.5786, allocations: 19.57 MB / 1.183 GB, free: 0.7734 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.638/8.217, allocations: 11.05 kB / 1.183 GB, free: 0.7656 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.965221039950848]