Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001842/0.001842, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002397/0.002397, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.378/1.378, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.022/3.022, allocations: 0.49 GB / 0.7951 GB, free: 33.28 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_12_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.001894/0.001894, allocations: 77.14 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3246, allocations: 176.1 MB / 1.326 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.003146/0.3278, allocations: 1.555 MB / 1.327 GB, free: 396 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001381/0.3279, allocations: 27.86 kB / 1.327 GB, free: 368 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.094e-05/0.328, allocations: 4 kB / 1.327 GB, free: 364 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.3281, allocations: 15.86 kB / 1.327 GB, free: 348 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.149e-05/0.3282, allocations: 7.922 kB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001191/0.3283, allocations: 19.97 kB / 1.327 GB, free: 320 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.3284, allocations: 47.84 kB / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.3285, allocations: 24.2 kB / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.213e-05/0.3286, allocations: 19.92 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.433e-05/0.3286, allocations: 35.84 kB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.3287, allocations: 4 kB / 1.328 GB, free: 188 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.093e-05/0.3287, allocations: 4 kB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.86e-05/0.3287, allocations: 19.92 kB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.652e-05/0.3288, allocations: 27.86 kB / 1.328 GB, free: 136 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.3289, allocations: 59.62 kB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.3289, allocations: 4 kB / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.173e-06/0.3289, allocations: 0 / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.3289, allocations: 0 / 1.328 GB, free: 72 kB / 1.014 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.0004319/0.3293, allocations: 286.2 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.3294, allocations: 12.03 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.125e-05/0.3294, allocations: 34.75 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.869e-05/0.3295, allocations: 8.891 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.3296, allocations: 130.4 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.3296, allocations: 384 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.3297, allocations: 12.36 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.3298, allocations: 100.7 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3298, allocations: 7.938 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.3299, allocations: 7.938 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.3299, allocations: 8 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.027e-05/0.33, allocations: 43.91 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006338/0.3306, allocations: 0.608 MB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.246e-05/0.3307, allocations: 173.1 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.42e-05/0.3307, allocations: 84.12 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.3308, allocations: 75.28 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.316e-05/0.3308, allocations: 113.8 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3308, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.569e-05/0.3309, allocations: 41.59 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/0.331, allocations: 126.7 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.3311, allocations: 164.5 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.3312, allocations: 25.7 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.453e-05/0.3312, allocations: 116 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-06/0.3312, allocations: 0 / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.3313, allocations: 9.719 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3314, allocations: 326.8 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/0.3314, allocations: 4 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.047e-05/0.3314, allocations: 26.52 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.641e-05/0.3315, allocations: 26.61 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3315, allocations: 0 / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001332/0.3316, allocations: 61.58 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3316, allocations: 8 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3316, allocations: 3.938 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.3317, allocations: 0 / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.582e-05/0.3317, allocations: 4 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3317, allocations: 3.938 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.183e-05/0.3318, allocations: 4 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.3318, allocations: 7.984 kB / 1.33 GB, free: 13.21 MB / 1.029 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.0001233/0.3319, allocations: 197.7 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.012e-05/0.332, allocations: 108.9 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.015e-05/0.332, allocations: 124.7 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.7e-05/0.3321, allocations: 176.3 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.437e-05/0.3322, allocations: 176.3 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.081e-05/0.3322, allocations: 180.2 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.3325, allocations: 400.3 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.125e-05/0.3325, allocations: 104.9 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.3326, allocations: 105 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.2e-05/0.3327, allocations: 180.3 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.283e-05/0.3327, allocations: 192.1 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.637e-05/0.3328, allocations: 180.5 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-05/0.3329, allocations: 180.2 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.3331, allocations: 315.8 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-05/0.3331, allocations: 116.9 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-05/0.3332, allocations: 188.2 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.619e-05/0.3333, allocations: 112.9 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.988e-05/0.3334, allocations: 184.2 kB / 1.333 GB, free: 9.859 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.116e-05/0.3334, allocations: 101 kB / 1.333 GB, free: 9.754 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001075/0.3335, allocations: 134.8 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3335, allocations: 0 / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000215/0.3338, allocations: 4 kB / 1.334 GB, free: 9.621 MB / 1.029 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.0004625/0.3342, allocations: 0.8165 MB / 1.334 GB, free: 8.777 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.741e-05/0.3343, allocations: 7.938 kB / 1.334 GB, free: 8.77 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3343, allocations: 0 / 1.334 GB, free: 8.77 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.3343, allocations: 0 / 1.334 GB, free: 8.77 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.3347, allocations: 466.2 kB / 1.335 GB, free: 8.312 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.3363, allocations: 1.643 MB / 1.336 GB, free: 6.578 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.3366, allocations: 0.6886 MB / 1.337 GB, free: 5.863 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.877e-05/0.3366, allocations: 4 kB / 1.337 GB, free: 5.859 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.566e-05/0.3366, allocations: 27.41 kB / 1.337 GB, free: 5.832 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.3366, allocations: 0 / 1.337 GB, free: 5.832 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/0.3642, allocations: 1.813 MB / 1.339 GB, free: 4.156 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/10.39, allocations: 15.84 kB / 1.339 GB, free: 4.145 MB / 1.029 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat --tempDir=temp_Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.70223964797333]