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.001404/0.001404, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001665/0.001665, allocations: 161.7 kB / 22.76 MB, free: 1.676 MB / 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 1.481/1.481, allocations: 177.1 MB / 203.1 MB, free: 5.566 MB / 186.7 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.195/3.195, allocations: 429.6 MB / 0.673 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: 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_latest_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_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8776 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.86e-05, allocations: 3 kB / 0.8776 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.00305/0.003079, allocations: 1.556 MB / 0.8791 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001376/0.003217, allocations: 31.84 kB / 0.8791 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.817e-05/0.003265, allocations: 4 kB / 0.8791 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.003389, allocations: 13.44 kB / 0.8792 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.578e-05/0.003425, allocations: 2.625 kB / 0.8792 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001135/0.003538, allocations: 20.56 kB / 0.8792 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.003652, allocations: 48.78 kB / 0.8792 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.003785, allocations: 27.91 kB / 0.8793 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.568e-05/0.00384, allocations: 20.92 kB / 0.8793 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.44e-05/0.003915, allocations: 27.84 kB / 0.8793 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.003937, allocations: 4 kB / 0.8793 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.12e-05/0.003948, allocations: 4.844 kB / 0.8793 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.361e-05/0.004002, allocations: 27.91 kB / 0.8793 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.408e-05/0.004046, allocations: 17.11 kB / 0.8793 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.004167, allocations: 51.8 kB / 0.8794 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.004168, allocations: 3.938 kB / 0.8794 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.01e-07/0.004169, allocations: 0.9062 kB / 0.8794 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.004173, allocations: 0 / 0.8794 GB, free: 4.672 MB / 0.8386 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.0004356/0.004608, allocations: 291.6 kB / 0.8797 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.004654, allocations: 12.03 kB / 0.8797 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.994e-05/0.004704, allocations: 12.89 kB / 0.8797 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.004886, allocations: 125.7 kB / 0.8798 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.0049, allocations: 5.281 kB / 0.8798 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.004913, allocations: 4.375 kB / 0.8798 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.005099, allocations: 105.5 kB / 0.8799 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.005107, allocations: 192 / 0.8799 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.005118, allocations: 4.375 kB / 0.8799 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.005122, allocations: 3.969 kB / 0.8799 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.005225, allocations: 47.86 kB / 0.88 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006884/0.005913, allocations: 0.5626 MB / 0.8805 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.00604, allocations: 177.1 kB / 0.8807 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002753/0.006315, allocations: 84.14 kB / 0.8808 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/0.006356, allocations: 75.28 kB / 0.8809 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.459e-05/0.006431, allocations: 109.8 kB / 0.881 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.006432, allocations: 0 / 0.881 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.784e-05/0.00651, allocations: 30.33 kB / 0.881 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.663e-05/0.006606, allocations: 127.3 kB / 0.8811 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.006761, allocations: 133.7 kB / 0.8812 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.006782, allocations: 33.69 kB / 0.8813 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.976e-05/0.006872, allocations: 111.9 kB / 0.8814 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.569e-06/0.006876, allocations: 7.922 kB / 0.8814 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.006914, allocations: 13.72 kB / 0.8814 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.007094, allocations: 318.8 kB / 0.8817 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.691e-05/0.007111, allocations: 4 kB / 0.8817 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.718e-05/0.007149, allocations: 26.56 kB / 0.8817 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.173e-05/0.0072, allocations: 22.58 kB / 0.8818 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.007202, allocations: 4 kB / 0.8818 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001483/0.00735, allocations: 53.58 kB / 0.8818 GB, free: 2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.007368, allocations: 8 kB / 0.8818 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.007373, allocations: 0 / 0.8818 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.007389, allocations: 0 / 0.8818 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.85e-05/0.007447, allocations: 7.984 kB / 0.8818 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.007462, allocations: 0 / 0.8818 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.632e-05/0.007498, allocations: 11.89 kB / 0.8818 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.007502, allocations: 0 / 0.8818 GB, free: 1.973 MB / 0.8386 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.000147/0.007649, allocations: 197.2 kB / 0.882 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.268e-05/0.007742, allocations: 108.9 kB / 0.8821 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.663e-05/0.007818, allocations: 112.5 kB / 0.8822 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.962e-05/0.007918, allocations: 176.3 kB / 0.8824 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000111/0.008029, allocations: 188.2 kB / 0.8826 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001027/0.008132, allocations: 176.3 kB / 0.8828 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003177/0.008449, allocations: 380.7 kB / 0.8831 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-05/0.008512, allocations: 105 kB / 0.8832 GB, free: 480 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.792e-05/0.00857, allocations: 101 kB / 0.8833 GB, free: 372 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001078/0.008678, allocations: 188.2 kB / 0.8835 GB, free: 176 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/0.008796, allocations: 180.3 kB / 0.8837 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001044/0.0089, allocations: 188.2 kB / 0.8838 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001032/0.009003, allocations: 180.3 kB / 0.884 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.009212, allocations: 311.6 kB / 0.8843 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.575e-05/0.009288, allocations: 109 kB / 0.8844 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.00941, allocations: 180.2 kB / 0.8846 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.009523, allocations: 101 kB / 0.8847 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.009624, allocations: 184.2 kB / 0.8849 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-05/0.009687, allocations: 108.9 kB / 0.885 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.781e-05/0.009775, allocations: 99.27 kB / 0.8851 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.009775, allocations: 0 / 0.8851 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002787/0.01005, allocations: 15.95 kB / 0.8851 GB, free: 14.47 MB / 0.8542 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.0001696/0.01022, allocations: 170.5 kB / 0.8852 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.976e-05/0.01029, allocations: 11.94 kB / 0.8852 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01029, allocations: 0 / 0.8852 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.0103, allocations: 0 / 0.8852 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005013/0.0108, allocations: 459.7 kB / 0.8857 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003876/0.01119, allocations: 219.7 kB / 0.8859 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.816e-05/0.01128, allocations: 91.31 kB / 0.886 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.389e-05/0.0113, allocations: 0 / 0.886 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.01133, allocations: 12.5 kB / 0.886 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of SimCode: time 4.21e-07/0.01133, allocations: 0 / 0.886 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of Templates: time 0.002531/0.01386, allocations: 285.4 kB / 0.8863 GB, free: 13.18 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 800] 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/jenkins/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: 8.13003861089237]