Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.001266/0.001266, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001406/0.001406, allocations: 218.7 kB / 23.03 MB, free: 4.922 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.354/1.354, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.561/2.561, allocations: 476.8 MB / 0.7715 GB, free: 3.883 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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",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.001933/0.001933, allocations: 66.88 kB / 1.118 GB, free: 39.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2877, allocations: 170 MB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.00276/0.2904, allocations: 1.546 MB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001134/0.2905, allocations: 31.86 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.43e-05/0.2906, allocations: 0 / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.2907, allocations: 11.86 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.421e-05/0.2907, allocations: 7.938 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001094/0.2908, allocations: 23.97 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.769e-05/0.2909, allocations: 39.84 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.2911, allocations: 19.98 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.833e-05/0.2911, allocations: 31.91 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.817e-05/0.2912, allocations: 27.84 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.2912, allocations: 4 kB / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.2912, allocations: 8 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.838e-05/0.2913, allocations: 19.92 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.902e-05/0.2913, allocations: 23.88 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.2914, allocations: 61.08 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.2914, allocations: 0 / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2914, allocations: 0 / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.2914, allocations: 0 / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000388/0.2918, allocations: 286.2 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.2918, allocations: 12.03 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.847e-05/0.2919, allocations: 192 / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.804e-05/0.2919, allocations: 46.73 kB / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.522e-05/0.2919, allocations: 8.891 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.2921, allocations: 134.3 kB / 1.286 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.2921, allocations: 4.375 kB / 1.286 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.2921, allocations: 8.375 kB / 1.286 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.2923, allocations: 96.56 kB / 1.286 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.2923, allocations: 0 / 1.286 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.2923, allocations: 4 kB / 1.286 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.2923, allocations: 4 kB / 1.286 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.953e-05/0.2924, allocations: 39.91 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005924/0.293, allocations: 0.6042 MB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.591e-05/0.2931, allocations: 177 kB / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.809e-05/0.2931, allocations: 80.14 kB / 1.287 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/0.2931, allocations: 75.28 kB / 1.287 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.246e-05/0.2932, allocations: 109.8 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.2932, allocations: 0 / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.468e-05/0.2933, allocations: 39.38 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.2933, allocations: 130.7 kB / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.2935, allocations: 166.4 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.2935, allocations: 25.7 kB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.995e-05/0.2936, allocations: 104.1 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-06/0.2936, allocations: 7.922 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.2936, allocations: 17.72 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.2938, allocations: 314.8 kB / 1.288 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.2938, allocations: 7.984 kB / 1.288 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.521e-05/0.2938, allocations: 22.58 kB / 1.288 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.993e-05/0.2938, allocations: 22.58 kB / 1.288 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.2938, allocations: 0 / 1.288 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001277/0.294, allocations: 65.52 kB / 1.288 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.294, allocations: 11.94 kB / 1.288 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.294, allocations: 0 / 1.288 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.294, allocations: 4 kB / 1.288 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.333e-05/0.2941, allocations: 4 kB / 1.288 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.2941, allocations: 7.984 kB / 1.288 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.153e-05/0.2941, allocations: 7.953 kB / 1.288 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.2941, allocations: 4 kB / 1.288 GB, free: 5.922 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.2942, allocations: 193 kB / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.725e-05/0.2943, allocations: 121 kB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.926e-05/0.2944, allocations: 116.7 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-05/0.2944, allocations: 184.3 kB / 1.289 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-05/0.2945, allocations: 184.2 kB / 1.289 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.737e-05/0.2946, allocations: 184.3 kB / 1.289 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.2948, allocations: 388.3 kB / 1.29 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.748e-05/0.2949, allocations: 108.9 kB / 1.29 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.233e-05/0.2949, allocations: 101 kB / 1.29 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.737e-05/0.295, allocations: 188.1 kB / 1.29 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.686e-05/0.2951, allocations: 176.3 kB / 1.29 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.058e-05/0.2952, allocations: 188.2 kB / 1.29 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.838e-05/0.2952, allocations: 180.3 kB / 1.291 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.2954, allocations: 312 kB / 1.291 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.168e-05/0.2954, allocations: 117 kB / 1.291 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.035e-05/0.2955, allocations: 188.1 kB / 1.291 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.704e-05/0.2956, allocations: 101 kB / 1.291 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/0.2957, allocations: 188.2 kB / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.815e-05/0.2958, allocations: 104.9 kB / 1.292 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001029/0.2959, allocations: 133.5 kB / 1.292 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2959, allocations: 0 / 1.292 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002073/0.2961, allocations: 4 kB / 1.292 GB, free: 2.34 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004678/0.2965, allocations: 0.8152 MB / 1.293 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.433e-05/0.2966, allocations: 15.92 kB / 1.293 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2966, allocations: 0 / 1.293 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.2966, allocations: 0 / 1.293 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.297, allocations: 461.6 kB / 1.293 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.2985, allocations: 1.634 MB / 1.295 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.662e-05/0.2986, allocations: 91.19 kB / 1.295 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.806e-05/0.2986, allocations: 4 kB / 1.295 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.173e-05/0.2986, allocations: 19.44 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of SimCode: time 2.7e-07/0.2986, allocations: 0 / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02063/0.3193, allocations: 1.882 MB / 1.297 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.02, allocations: 3.766 kB / 1.297 GB, free: 13.45 MB / 0.9981 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.18046306807082]