Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.001263/0.001263, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001272/0.001272, allocations: 161 kB / 24.16 MB, free: 336 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 1.008/1.008, allocations: 177.2 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.098/2.098, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.929e-05, allocations: 6.844 kB / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001782/0.001801, allocations: 1.375 MB / 0.7614 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.003466, allocations: 1.608 MB / 0.763 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.292e-05/0.003499, allocations: 0.7656 kB / 0.763 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.003517, allocations: 4.5 kB / 0.763 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.003719, allocations: 13.95 kB / 0.763 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003944/0.004113, allocations: 201.6 kB / 0.7632 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.832e-05/0.004182, allocations: 30.45 kB / 0.7632 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.205e-05/0.004214, allocations: 0 / 0.7632 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.004345, allocations: 29.77 kB / 0.7633 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.191e-05/0.004397, allocations: 9.656 kB / 0.7633 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.004407, allocations: 1.781 kB / 0.7633 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002229/0.00463, allocations: 168.6 kB / 0.7634 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.004641, allocations: 4.875 kB / 0.7634 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.578e-05/0.004657, allocations: 5.203 kB / 0.7634 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.004846, allocations: 176.1 kB / 0.7636 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004848, allocations: 0.5938 kB / 0.7636 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.11e-07/0.004849, allocations: 0.625 kB / 0.7636 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.085e-06/0.004852, allocations: 0 / 0.7636 GB, free: 2.992 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002264/0.005078, allocations: 265 kB / 0.7639 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.005109, allocations: 12.03 kB / 0.7639 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.005152, allocations: 76.97 kB / 0.7639 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.005252, allocations: 185.1 kB / 0.7641 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/0.005291, allocations: 151.7 kB / 0.7643 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.005329, allocations: 154.9 kB / 0.7644 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.78e-05/0.005377, allocations: 107.7 kB / 0.7645 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.0054, allocations: 79.22 kB / 0.7646 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.005434, allocations: 154.6 kB / 0.7647 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.849e-05/0.005473, allocations: 158.5 kB / 0.7649 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.431e-05/0.005507, allocations: 150.6 kB / 0.765 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001764/0.005684, allocations: 361.6 kB / 0.7654 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.239e-05/0.005766, allocations: 178.7 kB / 0.7655 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.615e-05/0.005792, allocations: 80.14 kB / 0.7656 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.005817, allocations: 75.28 kB / 0.7657 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.005851, allocations: 109.8 kB / 0.7658 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 7.12e-07/0.005852, allocations: 6.812 kB / 0.7658 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 5.038e-05/0.005902, allocations: 29.69 kB / 0.7658 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.005943, allocations: 134.6 kB / 0.766 GB, free: 476 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.872e-05/0.006012, allocations: 110.7 kB / 0.7661 GB, free: 352 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.006022, allocations: 25.7 kB / 0.7661 GB, free: 320 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.756e-05/0.00605, allocations: 84.14 kB / 0.7662 GB, free: 232 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-06/0.006051, allocations: 0 / 0.7662 GB, free: 232 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.006078, allocations: 20.47 kB / 0.7662 GB, free: 208 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.006171, allocations: 318.9 kB / 0.7665 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-06/0.00618, allocations: 4 kB / 0.7665 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.864e-05/0.006229, allocations: 99.69 kB / 0.7666 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.174e-05/0.00626, allocations: 30.5 kB / 0.7666 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.006262, allocations: 0.8438 kB / 0.7666 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.963e-05/0.006332, allocations: 46.62 kB / 0.7667 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.006345, allocations: 10.19 kB / 0.7667 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.006349, allocations: 0.875 kB / 0.7667 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.006361, allocations: 0 / 0.7667 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.503e-05/0.006406, allocations: 4 kB / 0.7667 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.006411, allocations: 9.5 kB / 0.7667 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.466e-05/0.006475, allocations: 7.922 kB / 0.7667 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.006484, allocations: 7.938 kB / 0.7667 GB, free: 15.63 MB / 0.7292 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 6.834e-05/0.006552, allocations: 186.4 kB / 0.7669 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.006592, allocations: 104.9 kB / 0.767 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.884e-05/0.006631, allocations: 108.1 kB / 0.7671 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-05/0.006675, allocations: 189 kB / 0.7673 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-05/0.006719, allocations: 184.2 kB / 0.7674 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-05/0.006758, allocations: 177.1 kB / 0.7676 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.00688, allocations: 321.4 kB / 0.7679 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.827e-05/0.006908, allocations: 109.5 kB / 0.768 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.628e-05/0.006934, allocations: 104.9 kB / 0.7681 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-05/0.006979, allocations: 183.7 kB / 0.7683 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.523e-05/0.007024, allocations: 180.3 kB / 0.7685 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.904e-05/0.007063, allocations: 180.2 kB / 0.7686 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.4e-05/0.007107, allocations: 176.3 kB / 0.7688 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.516e-05/0.007202, allocations: 311.7 kB / 0.7691 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.962e-05/0.007232, allocations: 101 kB / 0.7692 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.698e-05/0.007279, allocations: 192.4 kB / 0.7694 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.656e-05/0.007325, allocations: 109 kB / 0.7695 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.007372, allocations: 180.5 kB / 0.7697 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.007399, allocations: 107.9 kB / 0.7698 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.625e-05/0.007415, allocations: 12.84 kB / 0.7698 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.007415, allocations: 0 / 0.7698 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001744/0.007589, allocations: 55.73 kB / 0.7698 GB, free: 12.26 MB / 0.7292 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.0004778/0.008067, allocations: 367.4 kB / 0.7702 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.9e-05/0.008126, allocations: 20.8 kB / 0.7702 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.008131, allocations: 4 kB / 0.7702 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.008132, allocations: 0.9375 kB / 0.7702 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.008319, allocations: 451.7 kB / 0.7706 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003639/0.008683, allocations: 199.4 kB / 0.7708 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.799e-05/0.008711, allocations: 51.36 kB / 0.7709 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.283e-05/0.008734, allocations: 4 kB / 0.7709 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.008768, allocations: 55.38 kB / 0.7709 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of SimCode: time 4.71e-07/0.008768, allocations: 0 / 0.7709 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of Templates: time 0.003147/0.01192, allocations: 1.921 MB / 0.7728 GB, free: 9.352 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.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: 5.303245468996465]