Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 110.5 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 225.6 MB / 249.4 MB, free: 3.316 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.581/2.581, allocations: 443.4 MB / 0.7304 GB, free: 13.93 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 59.91 kB / 1.059 GB, free: 420 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.309, allocations: 160.7 MB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002891/0.3119, allocations: 1.559 MB / 1.218 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001136/0.312, allocations: 31.84 kB / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.086e-05/0.312, allocations: 4 kB / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.3121, allocations: 7.922 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.326e-05/0.3122, allocations: 7.875 kB / 1.218 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001013/0.3123, allocations: 19.98 kB / 1.218 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.508e-05/0.3124, allocations: 47.89 kB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.3125, allocations: 23.94 kB / 1.218 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.553e-05/0.3125, allocations: 23.86 kB / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.424e-05/0.3126, allocations: 31.91 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.3126, allocations: 4 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.781e-05/0.3126, allocations: 4 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.821e-05/0.3127, allocations: 23.86 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.3127, allocations: 31.8 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.3128, allocations: 59.62 kB / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3128, allocations: 0 / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3128, allocations: 0 / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3128, allocations: 0 / 1.218 GB, free: 13.5 MB / 0.9669 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.0004292/0.3133, allocations: 367.3 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.3133, allocations: 12.03 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.3133, allocations: 12.88 kB / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.3135, allocations: 184.2 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.3135, allocations: 4.375 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.3136, allocations: 8.375 kB / 1.219 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.3137, allocations: 100.7 kB / 1.219 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3137, allocations: 192 / 1.219 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3137, allocations: 7.938 kB / 1.219 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3137, allocations: 4 kB / 1.219 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.172e-05/0.3138, allocations: 43.92 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006338/0.3145, allocations: 0.6363 MB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.3146, allocations: 177.1 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.013e-05/0.3146, allocations: 85.14 kB / 1.22 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/0.3147, allocations: 75.28 kB / 1.22 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.169e-05/0.3147, allocations: 109.8 kB / 1.22 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 2.885e-06/0.3147, allocations: 3.984 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.113e-05/0.3148, allocations: 45.53 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/0.3149, allocations: 126.7 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.315, allocations: 164.3 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.3151, allocations: 29.7 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.558e-05/0.3151, allocations: 108 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-06/0.3152, allocations: 0 / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.3152, allocations: 17.72 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3153, allocations: 318.8 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.521e-05/0.3153, allocations: 8 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.52e-05/0.3154, allocations: 18.58 kB / 1.221 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.495e-05/0.3154, allocations: 26.52 kB / 1.221 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3154, allocations: 0 / 1.221 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00013/0.3155, allocations: 69.58 kB / 1.221 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.3156, allocations: 5.875 kB / 1.221 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.3156, allocations: 0 / 1.221 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3156, allocations: 3.938 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.239e-05/0.3156, allocations: 8 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.3156, allocations: 0 / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.085e-05/0.3157, allocations: 3.953 kB / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.3157, allocations: 11.92 kB / 1.221 GB, free: 10.48 MB / 0.9669 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.0001262/0.3158, allocations: 197.2 kB / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.076e-05/0.3159, allocations: 112.9 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.03e-05/0.316, allocations: 116.8 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.35e-05/0.316, allocations: 180.2 kB / 1.221 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.421e-05/0.3161, allocations: 184.3 kB / 1.221 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.954e-05/0.3162, allocations: 180.2 kB / 1.222 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.3165, allocations: 425.2 kB / 1.222 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-05/0.3165, allocations: 101.1 kB / 1.222 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.503e-05/0.3166, allocations: 112.9 kB / 1.222 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.278e-05/0.3167, allocations: 176.3 kB / 1.222 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-05/0.3168, allocations: 188.1 kB / 1.223 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.952e-05/0.3168, allocations: 176.3 kB / 1.223 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.667e-05/0.3169, allocations: 200.2 kB / 1.223 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.3171, allocations: 299.8 kB / 1.223 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.3172, allocations: 198 kB / 1.223 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.315e-05/0.3173, allocations: 180.2 kB / 1.224 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.646e-05/0.3174, allocations: 105 kB / 1.224 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.653e-05/0.3175, allocations: 188.2 kB / 1.224 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.048e-05/0.3175, allocations: 101 kB / 1.224 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001093/0.3176, allocations: 132.5 kB / 1.224 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3176, allocations: 0 / 1.224 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002819/0.3179, allocations: 4 kB / 1.224 GB, free: 6.773 MB / 0.9669 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.0001546/0.3181, allocations: 178.5 kB / 1.224 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.798e-05/0.3181, allocations: 11.94 kB / 1.224 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.3181, allocations: 0 / 1.224 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.3181, allocations: 0 / 1.224 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.3185, allocations: 469.7 kB / 1.225 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.3189, allocations: 249.2 kB / 1.225 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.3192, allocations: 0.6963 MB / 1.226 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.725e-05/0.3192, allocations: 4 kB / 1.226 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.104e-05/0.3193, allocations: 7.438 kB / 1.226 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of SimCode: time 3.81e-07/0.3193, allocations: 0 / 1.226 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of Templates: time 0.002773/0.322, allocations: 444.6 kB / 1.226 GB, free: 4.68 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300] (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 7.719958899542689]