Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 115 kB / 16.37 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001202, allocations: 193.2 kB / 17.31 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.205/2.205, allocations: 390.3 MB / 0.6655 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 62.12 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3191, allocations: 140.4 MB / 0.9511 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002484/0.3216, allocations: 1.263 MB / 0.9524 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002105/0.3238, allocations: 1.442 MB / 0.9538 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.392e-05/0.3238, allocations: 0 / 0.9538 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.357e-05/0.3238, allocations: 0 / 0.9538 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.324, allocations: 15.94 kB / 0.9538 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000593/0.3246, allocations: 215.1 kB / 0.954 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.409e-05/0.3247, allocations: 23.92 kB / 0.954 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.271e-05/0.3248, allocations: 7.984 kB / 0.954 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.129e-05/0.3249, allocations: 27.88 kB / 0.9541 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.325, allocations: 11.98 kB / 0.9541 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.325, allocations: 0 / 0.9541 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002634/0.3253, allocations: 167.8 kB / 0.9542 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.3253, allocations: 7.969 kB / 0.9542 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.3253, allocations: 15.88 kB / 0.9542 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.3256, allocations: 139.8 kB / 0.9544 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3256, allocations: 0 / 0.9544 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3256, allocations: 0 / 0.9544 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.3256, allocations: 0 / 0.9544 GB, free: 4.684 MB / 0.7325 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.0003711/0.326, allocations: 383.3 kB / 0.9547 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.326, allocations: 8.031 kB / 0.9548 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.355e-05/0.3261, allocations: 80.22 kB / 0.9548 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.3263, allocations: 239.7 kB / 0.9551 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.778e-05/0.3263, allocations: 154.9 kB / 0.9552 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.179e-05/0.3264, allocations: 154.7 kB / 0.9554 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.37e-05/0.3264, allocations: 112.9 kB / 0.9555 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.3265, allocations: 75.28 kB / 0.9555 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.933e-05/0.3265, allocations: 154.6 kB / 0.9557 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.425e-05/0.3266, allocations: 150.6 kB / 0.9558 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.922e-05/0.3266, allocations: 150.6 kB / 0.956 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002922/0.3269, allocations: 457.8 kB / 0.9564 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.473e-05/0.327, allocations: 169.1 kB / 0.9566 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.339e-05/0.327, allocations: 92.08 kB / 0.9567 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.3271, allocations: 75.28 kB / 0.9567 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.3271, allocations: 113.8 kB / 0.9568 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.3271, allocations: 4 kB / 0.9568 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.549e-05/0.3272, allocations: 25.7 kB / 0.9569 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.3273, allocations: 130.6 kB / 0.957 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.3274, allocations: 105.8 kB / 0.9571 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.3274, allocations: 25.7 kB / 0.9571 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/0.3274, allocations: 88.14 kB / 0.9572 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.3274, allocations: 0 / 0.9572 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.3275, allocations: 13.72 kB / 0.9572 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.3276, allocations: 322.8 kB / 0.9575 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.17e-05/0.3276, allocations: 4 kB / 0.9575 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.514e-05/0.3277, allocations: 22.58 kB / 0.9575 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.283e-05/0.3277, allocations: 30.5 kB / 0.9576 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3277, allocations: 4 kB / 0.9576 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001255/0.3279, allocations: 49.58 kB / 0.9576 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3279, allocations: 8 kB / 0.9576 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.3279, allocations: 0 / 0.9576 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3279, allocations: 3.938 kB / 0.9576 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.336e-05/0.328, allocations: 7.984 kB / 0.9576 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.328, allocations: 4 kB / 0.9576 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.3282, allocations: 4.25 kB / 0.9576 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.3282, allocations: 7.922 kB / 0.9577 GB, free: 1.074 MB / 0.7325 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.857e-05/0.3283, allocations: 193.2 kB / 0.9578 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/0.3284, allocations: 112.8 kB / 0.9579 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.559e-05/0.3284, allocations: 112.1 kB / 0.9581 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.696e-05/0.3285, allocations: 176.3 kB / 0.9582 GB, free: 472 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-05/0.3285, allocations: 184.2 kB / 0.9584 GB, free: 280 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.624e-05/0.3286, allocations: 180.4 kB / 0.9586 GB, free: 92 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.3289, allocations: 409.1 kB / 0.959 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.254e-05/0.3289, allocations: 105 kB / 0.9591 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.864e-05/0.3289, allocations: 109 kB / 0.9592 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.658e-05/0.329, allocations: 188.2 kB / 0.9593 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-05/0.3291, allocations: 180.3 kB / 0.9595 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.119e-05/0.3291, allocations: 180.2 kB / 0.9597 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-05/0.3292, allocations: 180.2 kB / 0.9599 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.3293, allocations: 307.7 kB / 0.9602 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.495e-05/0.3294, allocations: 182.1 kB / 0.9603 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.994e-05/0.3295, allocations: 188.2 kB / 0.9605 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.816e-05/0.3296, allocations: 101 kB / 0.9606 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.501e-05/0.3296, allocations: 184.2 kB / 0.9608 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/0.3297, allocations: 101 kB / 0.9609 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.304e-05/0.3297, allocations: 83.28 kB / 0.961 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3297, allocations: 0 / 0.961 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003077/0.33, allocations: 55.92 kB / 0.961 GB, free: 13.41 MB / 0.7481 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.0005669/0.3306, allocations: 348.6 kB / 0.9613 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 8.925e-05/0.3307, allocations: 19.92 kB / 0.9614 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3307, allocations: 0 / 0.9614 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.3307, allocations: 0 / 0.9614 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.3311, allocations: 459.8 kB / 0.9618 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/0.3313, allocations: 169.4 kB / 0.962 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.3316, allocations: 0.6805 MB / 0.9626 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.311e-05/0.3316, allocations: 0 / 0.9626 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.528e-05/0.3316, allocations: 11.44 kB / 0.9626 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.3316, allocations: 0 / 0.9626 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of Templates: time 0.004079/0.3357, allocations: 1.604 MB / 0.9642 GB, free: 10.13 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches