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.001453/0.001453, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001662/0.001662, allocations: 194 kB / 16.14 MB, free: 6.652 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.443/1.443, allocations: 222.9 MB / 239.8 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.811/2.811, allocations: 461.8 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.11 kB / 0.8984 GB, free: 37.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3216, allocations: 157.4 MB / 1.052 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.003548/0.3252, allocations: 1.509 MB / 1.054 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000947/0.3262, allocations: 0.5102 MB / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.732e-05/0.3262, allocations: 4 kB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.461e-05/0.3263, allocations: 0 / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.3266, allocations: 15.94 kB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001138/0.3267, allocations: 27.89 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.947e-05/0.3268, allocations: 47.86 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.3269, allocations: 4 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.327, allocations: 23.91 kB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.964e-05/0.3271, allocations: 27.91 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.3271, allocations: 4 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.596e-05/0.3272, allocations: 0 / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.963e-05/0.3272, allocations: 11.94 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.685e-05/0.3273, allocations: 19.91 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.3274, allocations: 44.09 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3274, allocations: 0 / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.173e-06/0.3274, allocations: 0 / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3274, allocations: 0 / 1.054 GB, free: 6.602 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006828/0.3281, allocations: 355.5 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3281, allocations: 8.031 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.3282, allocations: 4.938 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.3283, allocations: 168.3 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.3284, allocations: 4.375 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.3284, allocations: 4.375 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.3285, allocations: 65.91 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3285, allocations: 0 / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.3286, allocations: 7.984 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3286, allocations: 4 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.104e-05/0.3287, allocations: 23.98 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.329, allocations: 272.8 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.3293, allocations: 66.61 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.759e-05/0.3293, allocations: 24.86 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.3293, allocations: 0 / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001967/0.3295, allocations: 71.38 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.3296, allocations: 0 / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0002581/0.3298, allocations: 93.61 kB / 1.055 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.3299, allocations: 59.34 kB / 1.055 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.951e-05/0.3299, allocations: 101.8 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.33, allocations: 29.7 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.933e-05/0.33, allocations: 84.14 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.3301, allocations: 23.64 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.3301, allocations: 21.72 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3302, allocations: 318.8 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.852e-05/0.3303, allocations: 16 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.108e-05/0.3303, allocations: 15.98 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.474e-05/0.3304, allocations: 41.06 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3304, allocations: 4 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001169/0.3305, allocations: 73.61 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3305, allocations: 8 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3305, allocations: 0 / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3305, allocations: 0 / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.634e-05/0.3306, allocations: 8 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.3306, allocations: 3.984 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.861e-05/0.3307, allocations: 4 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.3307, allocations: 0 / 1.056 GB, free: 4.43 MB / 0.8106 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 0.0001002/0.3308, allocations: 123.3 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.3309, allocations: 4.094 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/0.3311, allocations: 113.5 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3311, allocations: 0 / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3311, allocations: 4 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.3311, allocations: 3.984 kB / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.3313, allocations: 181.6 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3313, allocations: 0 / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.346e-05/0.3313, allocations: 15.92 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3314, allocations: 4 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3314, allocations: 4 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3314, allocations: 0 / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.3314, allocations: 0 / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.3316, allocations: 120.9 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.3316, allocations: 85.05 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.3316, allocations: 0 / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.593e-05/0.3317, allocations: 11.98 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.3318, allocations: 15.92 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.3318, allocations: 256 / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.253e-05/0.3318, allocations: 87.28 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3318, allocations: 0 / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001873/0.332, allocations: 12 kB / 1.057 GB, free: 3.559 MB / 0.8106 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.0001237/0.3321, allocations: 100.8 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001398/0.3323, allocations: 59.84 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3323, allocations: 0 / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.644e-05/0.3324, allocations: 35.92 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.3325, allocations: 4 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.3329, allocations: 159.6 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.3332, allocations: 0.6809 MB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.783e-05/0.3332, allocations: 8 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.421e-05/0.3333, allocations: 23.36 kB / 1.058 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.3333, allocations: 0 / 1.058 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of Templates: time 0.003245/0.3366, allocations: 0.6365 MB / 1.059 GB, free: 1.809 MB / 0.8106 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