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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001478/0.001478, allocations: 104.5 kB / 16.41 MB, free: 6.5 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.001504/0.001504, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.567/2.567, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 71.89 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9288/0.9303, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.003027/0.9334, allocations: 1.444 MB / 1.21 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.9344, allocations: 0.5026 MB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.822e-05/0.9345, allocations: 0 / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.911e-05/0.9345, allocations: 7.922 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.9348, allocations: 19.92 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.935, allocations: 31.89 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.9351, allocations: 51.78 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.9352, allocations: 8 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.9353, allocations: 31.91 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.183e-05/0.9354, allocations: 23.86 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.9354, allocations: 4 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.614e-05/0.9355, allocations: 4 kB / 1.211 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.818e-05/0.9355, allocations: 7.984 kB / 1.211 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.382e-05/0.9356, allocations: 19.92 kB / 1.211 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.9357, allocations: 47.53 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.9357, allocations: 0 / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9357, allocations: 4 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.9357, allocations: 0 / 1.211 GB, free: 11.43 MB / 0.9356 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.000645/0.9364, allocations: 351.5 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.9364, allocations: 8.031 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.9365, allocations: 0.9375 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.9366, allocations: 178.2 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.9367, allocations: 8.375 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.9367, allocations: 4.375 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.9368, allocations: 61.73 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.9368, allocations: 0 / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.9369, allocations: 3.938 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.9369, allocations: 0 / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.294e-05/0.9369, allocations: 27.98 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.9374, allocations: 280.8 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.9376, allocations: 66.62 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.902e-05/0.9377, allocations: 24.84 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.9377, allocations: 0 / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.9379, allocations: 71.38 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.9379, allocations: 0 / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0002485/0.9382, allocations: 93.52 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.9382, allocations: 55.41 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.828e-05/0.9383, allocations: 109.8 kB / 1.212 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.9383, allocations: 25.7 kB / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.9384, allocations: 84.14 kB / 1.212 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.9384, allocations: 11.81 kB / 1.212 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.9385, allocations: 21.7 kB / 1.212 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.9386, allocations: 318.8 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.279e-05/0.9386, allocations: 23.98 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.097e-05/0.9387, allocations: 12 kB / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.432e-05/0.9387, allocations: 40.98 kB / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.9387, allocations: 0 / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001302/0.9389, allocations: 73.94 kB / 1.212 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.9389, allocations: 4 kB / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.9389, allocations: 7.984 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.9389, allocations: 4 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.854e-05/0.939, allocations: 8 kB / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.939, allocations: 0 / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.494e-05/0.9391, allocations: 15.89 kB / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.9391, allocations: 4 kB / 1.212 GB, free: 9.25 MB / 0.9356 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 8.479e-05/0.9392, allocations: 113.8 kB / 1.213 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.9392, allocations: 0 / 1.213 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002186/0.9395, allocations: 113.4 kB / 1.213 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.9395, allocations: 0 / 1.213 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.9395, allocations: 0 / 1.213 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.9395, allocations: 0 / 1.213 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.9396, allocations: 189.5 kB / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.9396, allocations: 7.938 kB / 1.213 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.434e-05/0.9397, allocations: 11.94 kB / 1.213 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.9397, allocations: 0 / 1.213 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.9397, allocations: 3.984 kB / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.9397, allocations: 4 kB / 1.213 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9398, allocations: 0 / 1.213 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.9399, allocations: 117 kB / 1.213 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/0.94, allocations: 81.02 kB / 1.213 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.94, allocations: 12 kB / 1.213 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.762e-05/0.9401, allocations: 0 / 1.213 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.9401, allocations: 7.984 kB / 1.213 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.9401, allocations: 4 kB / 1.213 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.466e-05/0.9402, allocations: 87.27 kB / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9402, allocations: 0 / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001921/0.9404, allocations: 8 kB / 1.213 GB, free: 8.395 MB / 0.9356 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.0001254/0.9405, allocations: 107.2 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001511/0.9407, allocations: 55.91 kB / 1.213 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.9407, allocations: 0 / 1.213 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.629e-05/0.9408, allocations: 31.94 kB / 1.213 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.9409, allocations: 9.875 kB / 1.213 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003846/0.9413, allocations: 167.5 kB / 1.214 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.9416, allocations: 0.6846 MB / 1.214 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.9416, allocations: 11.44 kB / 1.214 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.9417, allocations: 7.938 kB / 1.214 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of Templates: time 0.00253/0.9442, allocations: 0.8347 MB / 1.215 GB, free: 6.434 MB / 0.9356 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/jenkins1/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