Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001334/0.001334, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00151/0.00151, allocations: 217 kB / 23.04 MB, free: 5.074 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.391/1.391, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.123/3.123, allocations: 0.5003 GB / 0.8061 GB, free: 26.72 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_latest_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.001838/0.001838, allocations: 65.81 kB / 1.171 GB, free: 19.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3576, allocations: 179 MB / 1.345 GB, free: 472 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002836/0.3605, allocations: 1.582 MB / 1.347 GB, free: 14.87 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001108/0.3606, allocations: 23.92 kB / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.277e-05/0.3606, allocations: 3.938 kB / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.3608, allocations: 11.86 kB / 1.347 GB, free: 14.83 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.974e-05/0.3608, allocations: 11.92 kB / 1.347 GB, free: 14.82 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001011/0.3609, allocations: 19.92 kB / 1.347 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.361, allocations: 47.84 kB / 1.347 GB, free: 14.75 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.3611, allocations: 28.19 kB / 1.347 GB, free: 14.72 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.6e-05/0.3612, allocations: 19.94 kB / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.79e-05/0.3612, allocations: 31.84 kB / 1.347 GB, free: 14.67 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.3613, allocations: 4 kB / 1.347 GB, free: 14.67 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.023e-05/0.3613, allocations: 4 kB / 1.347 GB, free: 14.66 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.885e-05/0.3613, allocations: 23.91 kB / 1.347 GB, free: 14.64 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.3614, allocations: 27.86 kB / 1.347 GB, free: 14.61 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.3615, allocations: 55.7 kB / 1.347 GB, free: 14.56 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3615, allocations: 7.922 kB / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3615, allocations: 4 kB / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.3615, allocations: 0 / 1.347 GB, free: 14.55 MB / 1.045 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.0004026/0.3619, allocations: 279.9 kB / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.3619, allocations: 12.02 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.455e-05/0.3619, allocations: 4.188 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.564e-05/0.362, allocations: 34.75 kB / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.236e-05/0.362, allocations: 8.891 kB / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.3622, allocations: 130.4 kB / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.3622, allocations: 8.375 kB / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.3622, allocations: 4.375 kB / 1.348 GB, free: 14.01 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.3623, allocations: 108.5 kB / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.3624, allocations: 0 / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.3624, allocations: 0 / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3624, allocations: 4 kB / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.414e-05/0.3625, allocations: 43.91 kB / 1.348 GB, free: 13.84 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006338/0.3631, allocations: 0.608 MB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.643e-05/0.3632, allocations: 177.1 kB / 1.349 GB, free: 13 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.858e-05/0.3632, allocations: 80.14 kB / 1.349 GB, free: 12.92 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.3633, allocations: 79.28 kB / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.25e-05/0.3633, allocations: 105.8 kB / 1.349 GB, free: 12.73 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.3633, allocations: 3.938 kB / 1.349 GB, free: 12.72 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.259e-05/0.3634, allocations: 37.59 kB / 1.349 GB, free: 12.68 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.3635, allocations: 130.7 kB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.3637, allocations: 169.5 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.3637, allocations: 29.7 kB / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.288e-05/0.3638, allocations: 108 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 9.007e-06/0.3638, allocations: 3.984 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.3638, allocations: 13.72 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.364, allocations: 314.8 kB / 1.35 GB, free: 11.88 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.924e-05/0.364, allocations: 11.94 kB / 1.35 GB, free: 11.87 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.611e-05/0.3641, allocations: 22.56 kB / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.859e-05/0.3641, allocations: 34.55 kB / 1.35 GB, free: 11.79 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3641, allocations: 0 / 1.35 GB, free: 11.79 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001248/0.3642, allocations: 57.58 kB / 1.35 GB, free: 11.73 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3643, allocations: 11.94 kB / 1.35 GB, free: 11.72 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.3643, allocations: 0 / 1.35 GB, free: 11.72 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3643, allocations: 0 / 1.35 GB, free: 11.72 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.83e-05/0.3643, allocations: 8.094 kB / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.3643, allocations: 0 / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.624e-05/0.3644, allocations: 11.95 kB / 1.35 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.3644, allocations: 4 kB / 1.35 GB, free: 11.7 MB / 1.045 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.0001181/0.3645, allocations: 197 kB / 1.35 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.087e-05/0.3646, allocations: 116.9 kB / 1.35 GB, free: 11.37 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.06e-05/0.3647, allocations: 112.6 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.387e-05/0.3647, allocations: 188.3 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-05/0.3648, allocations: 184.2 kB / 1.35 GB, free: 10.87 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.744e-05/0.3649, allocations: 184.2 kB / 1.351 GB, free: 10.68 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.3652, allocations: 392.3 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.05e-05/0.3653, allocations: 105 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.8e-05/0.3653, allocations: 104.9 kB / 1.351 GB, free: 10.03 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.951e-05/0.3654, allocations: 188.4 kB / 1.351 GB, free: 9.836 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.491e-05/0.3655, allocations: 184.2 kB / 1.352 GB, free: 9.648 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.17e-05/0.3656, allocations: 180.2 kB / 1.352 GB, free: 9.465 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.773e-05/0.3656, allocations: 188.2 kB / 1.352 GB, free: 9.273 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.3658, allocations: 307.8 kB / 1.352 GB, free: 8.949 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.3659, allocations: 120.9 kB / 1.352 GB, free: 8.824 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.825e-05/0.366, allocations: 184.2 kB / 1.353 GB, free: 8.637 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.879e-05/0.3661, allocations: 104.9 kB / 1.353 GB, free: 8.527 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.214e-05/0.3662, allocations: 180.3 kB / 1.353 GB, free: 8.344 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.532e-05/0.3662, allocations: 105 kB / 1.353 GB, free: 8.234 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001071/0.3663, allocations: 130.1 kB / 1.353 GB, free: 8.109 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3663, allocations: 0 / 1.353 GB, free: 8.109 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002084/0.3665, allocations: 4 kB / 1.353 GB, free: 8.105 MB / 1.045 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.0006091/0.3671, allocations: 0.8164 MB / 1.354 GB, free: 7.262 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.614e-05/0.3672, allocations: 15.94 kB / 1.354 GB, free: 7.246 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3672, allocations: 0 / 1.354 GB, free: 7.246 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.146e-06/0.3672, allocations: 3.984 kB / 1.354 GB, free: 7.242 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.3676, allocations: 459.7 kB / 1.354 GB, free: 6.789 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.3694, allocations: 1.634 MB / 1.356 GB, free: 5.066 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.3697, allocations: 0.6961 MB / 1.357 GB, free: 4.344 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.222e-05/0.3698, allocations: 7.984 kB / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.256e-05/0.3698, allocations: 19.44 kB / 1.357 GB, free: 4.316 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.3698, allocations: 4 kB / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.392, allocations: 1.838 MB / 1.358 GB, free: 2.621 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.01, allocations: 9.312 kB / 1.358 GB, free: 2.617 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.58493545500096]