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.001481/0.001481, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001723/0.001723, allocations: 191.3 kB / 16.25 MB, free: 6.641 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.401/1.401, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.816/2.816, allocations: 472.6 MB / 0.7448 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 64.38 kB / 0.9116 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2961, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.00253/0.2987, allocations: 1.504 MB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008087/0.2995, allocations: 0.4947 MB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.132e-05/0.2996, allocations: 4 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.783e-05/0.2996, allocations: 3.984 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.2999, allocations: 19.92 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 9.449e-05/0.3, allocations: 15.98 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.295e-05/0.3, allocations: 55.77 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.962e-05/0.3001, allocations: 8 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.397e-05/0.3002, allocations: 27.98 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.803e-05/0.3003, allocations: 31.83 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.3003, allocations: 7.938 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.361e-05/0.3004, allocations: 4 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.553e-05/0.3004, allocations: 11.94 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.026e-05/0.3004, allocations: 19.92 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.045e-05/0.3005, allocations: 48.08 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3005, allocations: 0 / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3006, allocations: 0 / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.3006, allocations: 0 / 1.07 GB, free: 8.496 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.0005528/0.3011, allocations: 351.5 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.3012, allocations: 8.031 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.3012, allocations: 4.938 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.3013, allocations: 172.2 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.3013, allocations: 4.375 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.3014, allocations: 384 / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.3015, allocations: 57.98 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3015, allocations: 11.92 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.3015, allocations: 0 / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.3015, allocations: 4 kB / 1.071 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.632e-05/0.3016, allocations: 23.98 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.302, allocations: 272.8 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.3022, allocations: 70.61 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.173e-05/0.3023, allocations: 24.86 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.3023, allocations: 0 / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.3025, allocations: 75.31 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3025, allocations: 0 / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0002327/0.3027, allocations: 93.52 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.3028, allocations: 55.41 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.333e-05/0.3029, allocations: 109.8 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.3029, allocations: 25.7 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.3029, allocations: 88.14 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.303, allocations: 15.73 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.303, allocations: 17.72 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.3031, allocations: 326.8 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.586e-05/0.3032, allocations: 12 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.607e-05/0.3032, allocations: 15.98 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.457e-05/0.3033, allocations: 41 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3033, allocations: 0 / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001145/0.3034, allocations: 73.61 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.3034, allocations: 8 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3034, allocations: 0 / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.3035, allocations: 0 / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.251e-05/0.3035, allocations: 15.92 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3035, allocations: 0 / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.95e-05/0.3036, allocations: 11.91 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.3036, allocations: 0 / 1.072 GB, free: 6.32 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 8.457e-05/0.3037, allocations: 121.8 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.3037, allocations: 0 / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001818/0.3039, allocations: 101.6 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3039, allocations: 0 / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3039, allocations: 0 / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3039, allocations: 7.984 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.3041, allocations: 185.6 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.3041, allocations: 0 / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.999e-05/0.3042, allocations: 15.92 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3042, allocations: 4 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.3042, allocations: 4 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3042, allocations: 256 / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3042, allocations: 0 / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.3043, allocations: 117 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.383e-05/0.3044, allocations: 100.9 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.3044, allocations: 0 / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-05/0.3045, allocations: 3.984 kB / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.3045, allocations: 11.98 kB / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.3046, allocations: 8 kB / 1.072 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.606e-05/0.3046, allocations: 79.28 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3046, allocations: 0 / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001817/0.3048, allocations: 16 kB / 1.073 GB, free: 5.453 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 9.502e-05/0.3049, allocations: 95.25 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001419/0.305, allocations: 63.97 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3051, allocations: 4 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.872e-05/0.3051, allocations: 31.92 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.3053, allocations: 8 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/0.3056, allocations: 165.5 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.3058, allocations: 0.6807 MB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.95e-05/0.3059, allocations: 8.328 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.3059, allocations: 15.42 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3059, allocations: 0 / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of Templates: time 0.002607/0.3085, allocations: 0.6684 MB / 1.074 GB, free: 3.672 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