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.0008897/0.0008897, allocations: 81.95 kB / 20.68 MB, free: 3.816 MB / 18.57 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.0009518/0.0009518, allocations: 185.3 kB / 24.09 MB, free: 416 kB / 18.57 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 0.9065/0.9065, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.667/1.667, allocations: 359 MB / 0.6055 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: 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_11_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_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.674e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001913/0.00193, allocations: 1.575 MB / 0.7891 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001005/0.002031, allocations: 28.42 kB / 0.7891 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.973e-05/0.00207, allocations: 0.6875 kB / 0.7891 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.101e-05/0.002161, allocations: 7.922 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.99e-05/0.002191, allocations: 12.78 kB / 0.7892 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 8.441e-05/0.002276, allocations: 23.97 kB / 0.7892 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.616e-05/0.002342, allocations: 40.5 kB / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.63e-05/0.002428, allocations: 29.11 kB / 0.7892 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.59e-05/0.002474, allocations: 31.91 kB / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.818e-05/0.002522, allocations: 23.97 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.002537, allocations: 4 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.136e-06/0.002545, allocations: 9.531 kB / 0.7893 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.944e-05/0.002575, allocations: 15.98 kB / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.002597, allocations: 15.92 kB / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.047e-05/0.002668, allocations: 47.77 kB / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.303e-06/0.002669, allocations: 3.469 kB / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.71e-07/0.002669, allocations: 0 / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.775e-06/0.002672, allocations: 0 / 0.7894 GB, free: 10.34 MB / 0.7448 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.0002566/0.002929, allocations: 396.3 kB / 0.7898 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.002961, allocations: 8.031 kB / 0.7898 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.224e-05/0.002983, allocations: 12.89 kB / 0.7898 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.453e-05/0.003068, allocations: 124.6 kB / 0.7899 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.003078, allocations: 12.31 kB / 0.7899 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.173e-06/0.003085, allocations: 4.375 kB / 0.7899 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.746e-05/0.003172, allocations: 96.45 kB / 0.79 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.551e-06/0.003178, allocations: 1.844 kB / 0.79 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.052e-06/0.003184, allocations: 384 / 0.79 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.003188, allocations: 4.375 kB / 0.79 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.575e-05/0.003214, allocations: 27.86 kB / 0.79 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.003567, allocations: 0.7705 MB / 0.7908 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.105e-05/0.003648, allocations: 262.2 kB / 0.791 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.332e-05/0.003681, allocations: 126.9 kB / 0.7912 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.003709, allocations: 124.2 kB / 0.7913 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.736e-05/0.003757, allocations: 160.6 kB / 0.7914 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.003757, allocations: 0 / 0.7914 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 4.585e-05/0.003803, allocations: 30.64 kB / 0.7915 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.003854, allocations: 174.6 kB / 0.7916 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.732e-05/0.003941, allocations: 179.2 kB / 0.7918 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.003949, allocations: 25.7 kB / 0.7918 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.363e-05/0.004013, allocations: 162.6 kB / 0.792 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-06/0.004015, allocations: 0 / 0.792 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.292e-05/0.004038, allocations: 16.25 kB / 0.792 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.004171, allocations: 0.5 MB / 0.7925 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.631e-06/0.004176, allocations: 1.062 kB / 0.7925 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.034e-05/0.004197, allocations: 27.06 kB / 0.7925 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.108e-05/0.004228, allocations: 32 kB / 0.7925 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.004229, allocations: 5.531 kB / 0.7926 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.457e-05/0.004304, allocations: 57.58 kB / 0.7926 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.004314, allocations: 4 kB / 0.7926 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.004318, allocations: 0.5312 kB / 0.7926 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.004328, allocations: 0.6875 kB / 0.7926 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.905e-05/0.004357, allocations: 8 kB / 0.7926 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.686e-06/0.004361, allocations: 0.5312 kB / 0.7926 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.438e-05/0.004375, allocations: 0 / 0.7926 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.00438, allocations: 4.719 kB / 0.7926 GB, free: 6.793 MB / 0.7448 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 9.396e-05/0.004474, allocations: 280.6 kB / 0.7929 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.004522, allocations: 156.8 kB / 0.793 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.603e-05/0.004568, allocations: 148.4 kB / 0.7932 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-05/0.004635, allocations: 276.5 kB / 0.7934 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.096e-05/0.004696, allocations: 269.5 kB / 0.7937 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.343e-05/0.00476, allocations: 272 kB / 0.794 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.00493, allocations: 496.4 kB / 0.7944 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.588e-05/0.004966, allocations: 144.9 kB / 0.7946 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.005008, allocations: 150 kB / 0.7947 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.463e-05/0.005073, allocations: 272.1 kB / 0.795 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.908e-05/0.005142, allocations: 272 kB / 0.7952 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.428e-05/0.005206, allocations: 268.9 kB / 0.7955 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.907e-05/0.005275, allocations: 272 kB / 0.7958 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.005398, allocations: 444.9 kB / 0.7962 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.005439, allocations: 156.8 kB / 0.7963 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.404e-05/0.005503, allocations: 272.1 kB / 0.7966 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.639e-05/0.00556, allocations: 154 kB / 0.7967 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.079e-05/0.005621, allocations: 268.4 kB / 0.797 GB, free: 2.148 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.005653, allocations: 144.9 kB / 0.7971 GB, free: 2 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.133e-05/0.005694, allocations: 136.4 kB / 0.7973 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005694, allocations: 0 / 0.7973 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001349/0.005829, allocations: 14.16 kB / 0.7973 GB, free: 1.855 MB / 0.7448 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 8.42e-05/0.005913, allocations: 218.4 kB / 0.7975 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.116e-05/0.005964, allocations: 27.69 kB / 0.7975 GB, free: 1.602 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.005965, allocations: 6.969 kB / 0.7975 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.62e-07/0.005966, allocations: 0 / 0.7975 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.006238, allocations: 0.7116 MB / 0.7982 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/0.006457, allocations: 269.2 kB / 0.7985 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.295e-05/0.00649, allocations: 67.33 kB / 0.7985 GB, free: 0.5039 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.117e-06/0.0065, allocations: 0 / 0.7985 GB, free: 0.5039 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.006529, allocations: 66.2 kB / 0.7986 GB, free: 448 kB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.00653, allocations: 5.344 kB / 0.7986 GB, free: 444 kB / 0.7448 GB Notification: Performance of Templates: time 0.001591/0.00812, allocations: 291.4 kB / 0.7989 GB, free: 168 kB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.440271122846752]