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.001789/0.001789, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.002176/0.002176, allocations: 222.8 kB / 22.26 MB, free: 5.215 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.359/1.359, allocations: 230.6 MB / 256 MB, free: 8.004 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.588/2.588, allocations: 476.8 MB / 0.7707 GB, free: 4.215 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",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.001956/0.001956, allocations: 65.95 kB / 1.117 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.3, allocations: 170 MB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002988/0.303, allocations: 1.578 MB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001252/0.3032, allocations: 27.86 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.16e-05/0.3032, allocations: 0 / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.3033, allocations: 15.86 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.248e-05/0.3034, allocations: 15.86 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000107/0.3035, allocations: 19.97 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.3036, allocations: 39.91 kB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.3037, allocations: 23.5 kB / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.275e-05/0.3038, allocations: 27.86 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.324e-05/0.3038, allocations: 27.86 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.3038, allocations: 4 kB / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.103e-05/0.3038, allocations: 4 kB / 1.285 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.805e-05/0.3039, allocations: 19.92 kB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.672e-05/0.3039, allocations: 35.84 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.3041, allocations: 60.39 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3041, allocations: 0 / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3041, allocations: 0 / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3041, allocations: 0 / 1.285 GB, free: 9.754 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.0004033/0.3045, allocations: 282.2 kB / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3045, allocations: 8.031 kB / 1.285 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.995e-05/0.3046, allocations: 38.75 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.3046, allocations: 8.891 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.3048, allocations: 134.4 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.3048, allocations: 8.375 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.3048, allocations: 4.375 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.305, allocations: 103.8 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.305, allocations: 3.938 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.305, allocations: 0 / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.305, allocations: 7.875 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.141e-05/0.3051, allocations: 43.97 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006206/0.3057, allocations: 0.608 MB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.726e-05/0.3058, allocations: 177 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.888e-05/0.3058, allocations: 84.14 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.3059, allocations: 75.28 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.319e-05/0.3059, allocations: 109.8 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3059, allocations: 0 / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.186e-05/0.306, allocations: 43.38 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.405e-05/0.3061, allocations: 130.6 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.3063, allocations: 169.5 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.3063, allocations: 25.7 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.901e-05/0.3064, allocations: 108 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-06/0.3064, allocations: 0 / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.3064, allocations: 21.67 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3065, allocations: 314.8 kB / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.734e-05/0.3066, allocations: 7.984 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.462e-05/0.3066, allocations: 18.58 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.772e-05/0.3066, allocations: 34.52 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3066, allocations: 0 / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001236/0.3068, allocations: 57.58 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3068, allocations: 4 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3068, allocations: 3.938 kB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3068, allocations: 8.094 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.554e-05/0.3068, allocations: 4 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3069, allocations: 0 / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.752e-05/0.3069, allocations: 8 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.3069, allocations: 0 / 1.288 GB, free: 6.906 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.0001088/0.307, allocations: 189.1 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-05/0.3071, allocations: 116.9 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.21e-05/0.3071, allocations: 116.7 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.761e-05/0.3072, allocations: 184.3 kB / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.708e-05/0.3073, allocations: 184.2 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.76e-05/0.3074, allocations: 180.3 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.3076, allocations: 396.2 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.791e-05/0.3077, allocations: 109 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.069e-05/0.3077, allocations: 108.9 kB / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-05/0.3078, allocations: 180.2 kB / 1.289 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.621e-05/0.3079, allocations: 180.2 kB / 1.29 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-05/0.3079, allocations: 184.2 kB / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-05/0.308, allocations: 184.2 kB / 1.29 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.3082, allocations: 312 kB / 1.29 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/0.3082, allocations: 112.9 kB / 1.29 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.5e-05/0.3083, allocations: 192.2 kB / 1.291 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.975e-05/0.3084, allocations: 101.1 kB / 1.291 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.804e-05/0.3085, allocations: 188.1 kB / 1.291 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.054e-05/0.3086, allocations: 109 kB / 1.291 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001053/0.3087, allocations: 131.2 kB / 1.291 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3087, allocations: 0 / 1.291 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002136/0.3089, allocations: 8 kB / 1.291 GB, free: 3.316 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.0004777/0.3094, allocations: 0.8164 MB / 1.292 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.147e-05/0.3094, allocations: 15.98 kB / 1.292 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3094, allocations: 0 / 1.292 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.3094, allocations: 0 / 1.292 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.3098, allocations: 465.5 kB / 1.292 GB, free: 2 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.3113, allocations: 1.633 MB / 1.294 GB, free: 284 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.3117, allocations: 0.6924 MB / 1.295 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.063e-05/0.3117, allocations: 7.984 kB / 1.295 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.3117, allocations: 19.44 kB / 1.295 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/0.3117, allocations: 0 / 1.295 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02729/0.339, allocations: 1.813 MB / 1.296 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.9, allocations: 6.266 kB / 1.296 GB, free: 13.85 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.029893586877733]