Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0008011/0.0008011, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005337/0.005336, allocations: 170.1 kB / 16.26 MB, free: 6.676 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.399/1.399, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.884/2.884, allocations: 462.6 MB / 0.7363 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003746, allocations: 9.281 kB / 0.9027 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3431, allocations: 159.6 MB / 1.059 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001778/0.3449, allocations: 1.002 MB / 1.06 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002843/0.3478, allocations: 1.417 MB / 1.061 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.326e-05/0.3479, allocations: 4 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.615e-05/0.3479, allocations: 0 / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.3481, allocations: 15.98 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007746/0.3489, allocations: 185.5 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.236e-05/0.349, allocations: 27.92 kB / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.828e-05/0.3491, allocations: 0 / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.3492, allocations: 15.92 kB / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.3493, allocations: 11.98 kB / 1.061 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.3494, allocations: 4 kB / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002984/0.3497, allocations: 143.8 kB / 1.061 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.3497, allocations: 7.969 kB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.3497, allocations: 37.64 kB / 1.061 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002787/0.35, allocations: 139.8 kB / 1.062 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.35, allocations: 4 kB / 1.062 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.703e-06/0.35, allocations: 0 / 1.062 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.3501, allocations: 0 / 1.062 GB, free: 1.98 MB / 0.8106 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.0003715/0.3504, allocations: 367.7 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.3505, allocations: 11.97 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.198e-05/0.3506, allocations: 80.22 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.3507, allocations: 239.7 kB / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.603e-05/0.3508, allocations: 154.9 kB / 1.062 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.616e-05/0.3509, allocations: 162.6 kB / 1.063 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.618e-05/0.3509, allocations: 109 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/0.351, allocations: 75.28 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.413e-05/0.351, allocations: 150.6 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.498e-05/0.3511, allocations: 154.6 kB / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.3513, allocations: 162.5 kB / 1.063 GB, free: 256 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/0.3517, allocations: 457.8 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.68e-05/0.3518, allocations: 165.1 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.3519, allocations: 84.08 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.3519, allocations: 79.28 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/0.3521, allocations: 113.8 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.382e-06/0.3521, allocations: 3.938 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.061e-05/0.3522, allocations: 25.7 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/0.3522, allocations: 130.7 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.3524, allocations: 101.9 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.3524, allocations: 25.7 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.3524, allocations: 88.14 kB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-06/0.3524, allocations: 0 / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.3525, allocations: 17.7 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3526, allocations: 310.8 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.521e-05/0.3526, allocations: 4 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.323e-05/0.3527, allocations: 26.56 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.243e-05/0.3528, allocations: 30.52 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3528, allocations: 0 / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001493/0.3529, allocations: 53.56 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3529, allocations: 4 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.353, allocations: 4 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.353, allocations: 144 / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.508e-05/0.353, allocations: 4 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.3531, allocations: 4.094 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.3532, allocations: 8.234 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.3532, allocations: 11.92 kB / 1.065 GB, free: 14.38 MB / 0.8262 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 8.999e-05/0.3533, allocations: 189.1 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.525e-05/0.3534, allocations: 112.8 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.3534, allocations: 108.1 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.684e-05/0.3535, allocations: 192.1 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.412e-05/0.3535, allocations: 180.3 kB / 1.066 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-05/0.3536, allocations: 184.1 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.3538, allocations: 405.2 kB / 1.066 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.471e-05/0.3539, allocations: 101 kB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.263e-05/0.3539, allocations: 108.9 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.947e-05/0.3539, allocations: 180.3 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-05/0.354, allocations: 192.2 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-05/0.3541, allocations: 176.3 kB / 1.067 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-05/0.3541, allocations: 180.2 kB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.3542, allocations: 312 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.543e-05/0.3543, allocations: 186 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.006e-05/0.3544, allocations: 180.3 kB / 1.068 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.777e-05/0.3545, allocations: 104.9 kB / 1.068 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.3545, allocations: 180.3 kB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.175e-05/0.3546, allocations: 105 kB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.666e-05/0.3546, allocations: 87.28 kB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3546, allocations: 0 / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002959/0.3549, allocations: 55.92 kB / 1.068 GB, free: 10.72 MB / 0.8262 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.0005081/0.3554, allocations: 342.8 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.692e-05/0.3555, allocations: 4 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3555, allocations: 0 / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.3555, allocations: 4.188 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.3559, allocations: 0.5236 MB / 1.069 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002295/0.3561, allocations: 177.9 kB / 1.069 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.3563, allocations: 0.677 MB / 1.07 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.41e-05/0.3563, allocations: 7.938 kB / 1.07 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.564e-05/0.3564, allocations: 11.44 kB / 1.07 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3564, allocations: 0 / 1.07 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of Templates: time 0.004213/0.3606, allocations: 1.592 MB / 1.071 GB, free: 7.375 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches