Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_10_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_10_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.001635/0.001635, allocations: 114.6 kB / 16.42 MB, free: 6.02 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.001849/0.001849, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.393/1.393, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.443/2.443, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 63.91 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7103/0.7116, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002391/0.7141, allocations: 1.45 MB / 1.169 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000839/0.7149, allocations: 0.5065 MB / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.119e-05/0.715, allocations: 0 / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.677e-05/0.715, allocations: 3.938 kB / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.7152, allocations: 23.84 kB / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000108/0.7153, allocations: 31.95 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.116e-05/0.7154, allocations: 43.86 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.525e-05/0.7155, allocations: 11.98 kB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.938e-05/0.7156, allocations: 31.84 kB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.562e-05/0.7157, allocations: 19.92 kB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.7157, allocations: 4 kB / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.185e-05/0.7158, allocations: 4 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.308e-05/0.7158, allocations: 11.98 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.178e-05/0.7158, allocations: 19.88 kB / 1.169 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.688e-05/0.7159, allocations: 47.52 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.7159, allocations: 0 / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7159, allocations: 0 / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5e-06/0.716, allocations: 0 / 1.169 GB, free: 1.676 MB / 0.8887 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.000539/0.7165, allocations: 351.5 kB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.7165, allocations: 8.625 kB / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.7166, allocations: 4.938 kB / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.7167, allocations: 178.2 kB / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.7167, allocations: 4.359 kB / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.7167, allocations: 4.312 kB / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.7169, allocations: 57.98 kB / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.7169, allocations: 7.938 kB / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.7169, allocations: 4 kB / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.7169, allocations: 0 / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.092e-05/0.717, allocations: 23.98 kB / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.7173, allocations: 276.8 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.7176, allocations: 70.61 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.523e-05/0.7176, allocations: 24.84 kB / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.7176, allocations: 0 / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.7178, allocations: 71.38 kB / 1.171 GB, free: 460 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.7178, allocations: 0 / 1.171 GB, free: 460 kB / 0.8887 GB Notification: Performance of matching and sorting (n=6): time 0.0002304/0.718, allocations: 97.52 kB / 1.171 GB, free: 356 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.7181, allocations: 51.41 kB / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.073e-05/0.7182, allocations: 101.9 kB / 1.171 GB, free: 180 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.7182, allocations: 33.69 kB / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.489e-05/0.7182, allocations: 84.14 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.7182, allocations: 7.812 kB / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.7183, allocations: 25.7 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.7184, allocations: 318.8 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.915e-05/0.7185, allocations: 19.92 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.079e-05/0.7185, allocations: 12 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.145e-05/0.7186, allocations: 36.84 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.7186, allocations: 4 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001234/0.7187, allocations: 81.83 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.7187, allocations: 4 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.7187, allocations: 0 / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.7188, allocations: 0 / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.197e-05/0.7188, allocations: 15.98 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.7189, allocations: 0 / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.257e-05/0.7189, allocations: 7.906 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.7189, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 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.138e-05/0.719, allocations: 125.8 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.7191, allocations: 4 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000193/0.7192, allocations: 101.5 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.7193, allocations: 0 / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7193, allocations: 256 / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.48e-05/0.7193, allocations: 85.11 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.7193, allocations: 11.94 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.638e-05/0.7194, allocations: 15.86 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.7195, allocations: 8 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002095/0.7197, allocations: 168.9 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002027/0.7199, allocations: 258.8 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.536e-05/0.72, allocations: 27.92 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.385e-05/0.72, allocations: 87.45 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of Backend: time 4.11e-07/0.72, allocations: 4 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003728/0.7204, allocations: 111.5 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004325/0.7208, allocations: 0.5764 MB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of Templates: time 0.002864/0.7237, allocations: 0.7492 MB / 1.174 GB, free: 13.08 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches