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.00179/0.00179, allocations: 79.36 kB / 19.18 MB, free: 2.516 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.001932/0.001932, allocations: 161.8 kB / 22.45 MB, free: 5.375 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.493/1.493, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 2.907/2.907, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] 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: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.9814 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.077e-05, allocations: 2.281 kB / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002733/0.002764, allocations: 1.555 MB / 0.9829 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001202/0.002884, allocations: 31.86 kB / 0.983 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.265e-05/0.002937, allocations: 4 kB / 0.983 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.003054, allocations: 11.86 kB / 0.983 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.349e-05/0.003098, allocations: 11.86 kB / 0.983 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001118/0.00321, allocations: 19.97 kB / 0.983 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.003321, allocations: 47.84 kB / 0.9831 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.003455, allocations: 19.98 kB / 0.9831 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.376e-05/0.003509, allocations: 27.97 kB / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.005e-05/0.003579, allocations: 27.91 kB / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.003605, allocations: 7.938 kB / 0.9831 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.182e-05/0.003617, allocations: 4 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.57e-05/0.003663, allocations: 19.92 kB / 0.9832 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.09e-05/0.003704, allocations: 23.91 kB / 0.9832 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.003818, allocations: 55.8 kB / 0.9832 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.003821, allocations: 0 / 0.9832 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003822, allocations: 0 / 0.9832 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.003829, allocations: 0 / 0.9832 GB, free: 10.14 MB / 0.9356 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.0003993/0.004229, allocations: 290.1 kB / 0.9835 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.004266, allocations: 8.031 kB / 0.9835 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.004297, allocations: 8.891 kB / 0.9835 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.004472, allocations: 125.7 kB / 0.9837 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.689e-06/0.004481, allocations: 12.38 kB / 0.9837 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.004499, allocations: 4.375 kB / 0.9837 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.004671, allocations: 100.7 kB / 0.9838 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.00468, allocations: 192 / 0.9838 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.004692, allocations: 4.375 kB / 0.9838 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.004698, allocations: 4.375 kB / 0.9838 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.614e-05/0.004784, allocations: 47.8 kB / 0.9838 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005898/0.005374, allocations: 0.558 MB / 0.9844 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.851e-05/0.005472, allocations: 173.1 kB / 0.9845 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.175e-05/0.005514, allocations: 84.14 kB / 0.9846 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.005546, allocations: 79.28 kB / 0.9847 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.411e-05/0.0056, allocations: 109.8 kB / 0.9848 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.005601, allocations: 0 / 0.9848 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.355e-05/0.005675, allocations: 33.66 kB / 0.9848 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/0.005738, allocations: 126.7 kB / 0.9849 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.005867, allocations: 125.8 kB / 0.9851 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.005883, allocations: 25.7 kB / 0.9851 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.786e-05/0.005961, allocations: 119.9 kB / 0.9852 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.005964, allocations: 0 / 0.9852 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.005998, allocations: 13.72 kB / 0.9852 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.006132, allocations: 318.8 kB / 0.9855 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.006148, allocations: 8 kB / 0.9855 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.919e-05/0.006177, allocations: 26.56 kB / 0.9856 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.737e-05/0.006225, allocations: 26.52 kB / 0.9856 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.006227, allocations: 0 / 0.9856 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001354/0.006362, allocations: 53.59 kB / 0.9856 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.006375, allocations: 4 kB / 0.9856 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.006383, allocations: 8.078 kB / 0.9856 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.006394, allocations: 4 kB / 0.9856 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.738e-05/0.006451, allocations: 4 kB / 0.9856 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.006456, allocations: 3.938 kB / 0.9857 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.211e-05/0.006489, allocations: 7.938 kB / 0.9857 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.006492, allocations: 0 / 0.9857 GB, free: 7.445 MB / 0.9356 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.0001155/0.006608, allocations: 193.1 kB / 0.9858 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.49e-05/0.006683, allocations: 108.9 kB / 0.9859 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.45e-05/0.006737, allocations: 108.5 kB / 0.9861 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.982e-05/0.006817, allocations: 176.4 kB / 0.9862 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-05/0.006898, allocations: 188.2 kB / 0.9864 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.234e-05/0.006981, allocations: 188.4 kB / 0.9866 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.007223, allocations: 380.7 kB / 0.9869 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.433e-05/0.007267, allocations: 105 kB / 0.987 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.007309, allocations: 101 kB / 0.9871 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.477e-05/0.007394, allocations: 188.2 kB / 0.9873 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-05/0.007473, allocations: 180.3 kB / 0.9875 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.341e-05/0.007547, allocations: 180.2 kB / 0.9877 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.269e-05/0.00762, allocations: 176.3 kB / 0.9878 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.007783, allocations: 319.6 kB / 0.9881 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.422e-05/0.007837, allocations: 105 kB / 0.9882 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.689e-05/0.007924, allocations: 184.2 kB / 0.9884 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.985e-05/0.008014, allocations: 101 kB / 0.9885 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.058e-05/0.008105, allocations: 188.2 kB / 0.9887 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.00815, allocations: 104.9 kB / 0.9888 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.837e-05/0.008218, allocations: 99.64 kB / 0.9889 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.008219, allocations: 0 / 0.9889 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002309/0.008449, allocations: 7.953 kB / 0.9889 GB, free: 3.953 MB / 0.9356 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.0001499/0.008599, allocations: 178.5 kB / 0.9891 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.33e-05/0.008673, allocations: 12.06 kB / 0.9891 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.008674, allocations: 4.062 kB / 0.9891 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.008676, allocations: 0 / 0.9891 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.009122, allocations: 459.7 kB / 0.9895 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003886/0.00951, allocations: 228 kB / 0.9897 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.283e-05/0.009593, allocations: 75.27 kB / 0.9898 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.321e-05/0.009606, allocations: 0 / 0.9898 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.009634, allocations: 12.5 kB / 0.9898 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of SimCode: time 3.8e-07/0.009635, allocations: 0 / 0.9898 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of Templates: time 0.002599/0.01223, allocations: 279.4 kB / 0.9901 GB, free: 2.672 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 400] 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/jenkins/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: 8.140108209103346]