Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.396/1.396, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.93/2.93, allocations: 472.7 MB / 0.7451 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 65.95 kB / 0.9121 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3318, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002716/0.3346, allocations: 1.459 MB / 1.07 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008239/0.3354, allocations: 0.5065 MB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.723e-05/0.3355, allocations: 0 / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.991e-05/0.3355, allocations: 0 / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.3358, allocations: 19.86 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001064/0.3359, allocations: 39.89 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.875e-05/0.336, allocations: 47.8 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.236e-05/0.3361, allocations: 4 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.3362, allocations: 23.97 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.02e-05/0.3363, allocations: 23.91 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.3363, allocations: 4 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.647e-05/0.3363, allocations: 4 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.78e-05/0.3364, allocations: 15.92 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.3364, allocations: 15.92 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.987e-05/0.3365, allocations: 52.09 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3365, allocations: 0 / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.208e-06/0.3365, allocations: 0 / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.892e-06/0.3365, allocations: 3.938 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007309/0.3373, allocations: 347.5 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.3373, allocations: 8.031 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.3374, allocations: 4.938 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.3375, allocations: 176.2 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.3376, allocations: 4.375 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.3376, allocations: 4.375 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.3377, allocations: 61.95 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.3377, allocations: 3.984 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.3377, allocations: 4 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3378, allocations: 0 / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.223e-05/0.3378, allocations: 27.92 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.3382, allocations: 272.8 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.3385, allocations: 62.67 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.014e-05/0.3385, allocations: 24.84 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.3385, allocations: 3.938 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.3387, allocations: 79.27 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.3387, allocations: 0 / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0002425/0.339, allocations: 97.56 kB / 1.072 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.339, allocations: 51.41 kB / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.888e-05/0.3391, allocations: 97.86 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.3391, allocations: 29.7 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.975e-05/0.3392, allocations: 84.12 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.3392, allocations: 19.75 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/0.3393, allocations: 21.7 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.3394, allocations: 326.7 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.763e-05/0.3394, allocations: 12.25 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.389e-05/0.3394, allocations: 15.98 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.603e-05/0.3395, allocations: 44.91 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3396, allocations: 0 / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001136/0.3397, allocations: 69.69 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.3397, allocations: 4 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3397, allocations: 0 / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.3397, allocations: 0 / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.553e-05/0.3398, allocations: 19.92 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.3398, allocations: 0 / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.887e-05/0.3399, allocations: 7.906 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.3399, allocations: 4 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.779e-05/0.34, allocations: 119.5 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.34, allocations: 4 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001849/0.3402, allocations: 101.6 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3402, allocations: 4 kB / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3402, allocations: 4 kB / 1.073 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3402, allocations: 0 / 1.073 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.3404, allocations: 181.5 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3404, allocations: 3.984 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.006e-05/0.3404, allocations: 8 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.3404, allocations: 4 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.3405, allocations: 0 / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.3405, allocations: 3.984 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3405, allocations: 0 / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.3406, allocations: 129 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.722e-05/0.3407, allocations: 92.94 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.3407, allocations: 4 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.777e-05/0.3408, allocations: 4 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.3408, allocations: 7.984 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.3408, allocations: 0 / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.232e-05/0.3409, allocations: 91.39 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3409, allocations: 0 / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001917/0.3411, allocations: 16 kB / 1.073 GB, free: 5.133 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: 2 ($whenCondition1,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001076/0.3412, allocations: 107.8 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001484/0.3414, allocations: 59.84 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3414, allocations: 0 / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.389e-05/0.3414, allocations: 31.98 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.3416, allocations: 5.719 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003365/0.3419, allocations: 149.4 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.3422, allocations: 0.6807 MB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.582e-05/0.3422, allocations: 7.984 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.3423, allocations: 11.44 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.3423, allocations: 0 / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of Templates: time 0.002933/0.3452, allocations: 0.6862 MB / 1.075 GB, free: 3.352 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches