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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001377/0.001377, allocations: 113.5 kB / 16.37 MB, free: 6.012 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.001457/0.001457, allocations: 189 kB / 17.3 MB, free: 5.613 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.477/1.477, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.435/2.435, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001524, allocations: 60.16 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3119, allocations: 151.6 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002838/0.3148, allocations: 1.441 MB / 1.02 GB, free: 8.395 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008659/0.3157, allocations: 0.5117 MB / 1.021 GB, free: 7.879 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.817e-05/0.3158, allocations: 4 kB / 1.021 GB, free: 7.875 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.808e-05/0.3158, allocations: 0 / 1.021 GB, free: 7.875 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.316, allocations: 23.84 kB / 1.021 GB, free: 7.852 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001154/0.3162, allocations: 23.92 kB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.985e-05/0.3163, allocations: 51.84 kB / 1.021 GB, free: 7.777 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.169e-05/0.3164, allocations: 11.98 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.182e-05/0.3165, allocations: 19.92 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.076e-05/0.3166, allocations: 23.91 kB / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.3166, allocations: 8 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.482e-05/0.3166, allocations: 4 kB / 1.021 GB, free: 7.711 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.903e-05/0.3166, allocations: 11.98 kB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.363e-05/0.3167, allocations: 19.92 kB / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.3168, allocations: 55.73 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3168, allocations: 0 / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3168, allocations: 0 / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.3168, allocations: 0 / 1.021 GB, free: 7.625 MB / 0.795 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.0006034/0.3174, allocations: 355.4 kB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3175, allocations: 8.922 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.3175, allocations: 8.875 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.3177, allocations: 168.3 kB / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3177, allocations: 4.375 kB / 1.021 GB, free: 7.008 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.3177, allocations: 384 / 1.021 GB, free: 7.008 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.3178, allocations: 57.98 kB / 1.022 GB, free: 6.945 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3179, allocations: 4 kB / 1.022 GB, free: 6.941 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.3179, allocations: 7.984 kB / 1.022 GB, free: 6.934 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3179, allocations: 4 kB / 1.022 GB, free: 6.93 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.318, allocations: 27.92 kB / 1.022 GB, free: 6.902 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.3184, allocations: 272.8 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.3186, allocations: 62.67 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.999e-05/0.3187, allocations: 20.86 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.3187, allocations: 7.938 kB / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001547/0.3189, allocations: 71.45 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.3189, allocations: 0 / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.000235/0.3191, allocations: 85.67 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.3192, allocations: 55.41 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.697e-05/0.3192, allocations: 105.8 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.3193, allocations: 29.7 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.3193, allocations: 92.12 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.3194, allocations: 19.64 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.3194, allocations: 21.72 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.327e-05/0.3195, allocations: 322.8 kB / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.628e-05/0.3195, allocations: 12 kB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.272e-05/0.3196, allocations: 19.97 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.791e-05/0.3196, allocations: 32.86 kB / 1.023 GB, free: 5.566 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3197, allocations: 0 / 1.023 GB, free: 5.566 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000119/0.3198, allocations: 77.67 kB / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3198, allocations: 4 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3198, allocations: 0 / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.3198, allocations: 0 / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.514e-05/0.3199, allocations: 11.94 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.3199, allocations: 3.984 kB / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.655e-05/0.32, allocations: 8 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.32, allocations: 0 / 1.023 GB, free: 5.457 MB / 0.795 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.073e-05/0.3201, allocations: 118.4 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.3201, allocations: 15.84 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001923/0.3203, allocations: 101.7 kB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3203, allocations: 7.984 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3204, allocations: 0 / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3204, allocations: 3.984 kB / 1.023 GB, free: 5.199 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.3205, allocations: 181.6 kB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3205, allocations: 256 / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.22e-05/0.3206, allocations: 11.98 kB / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/0.3206, allocations: 8 kB / 1.023 GB, free: 4.953 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.3206, allocations: 0 / 1.023 GB, free: 4.953 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3206, allocations: 4 kB / 1.023 GB, free: 4.949 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.3206, allocations: 0 / 1.023 GB, free: 4.949 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.3208, allocations: 120.9 kB / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.022e-05/0.3208, allocations: 85.05 kB / 1.023 GB, free: 4.711 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.3208, allocations: 4 kB / 1.023 GB, free: 4.707 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.421e-05/0.3209, allocations: 7.984 kB / 1.023 GB, free: 4.699 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.321, allocations: 7.938 kB / 1.023 GB, free: 4.691 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.321, allocations: 7.984 kB / 1.023 GB, free: 4.684 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.373e-05/0.321, allocations: 83.28 kB / 1.024 GB, free: 4.602 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3211, allocations: 0 / 1.024 GB, free: 4.602 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000197/0.3213, allocations: 16 kB / 1.024 GB, free: 4.586 MB / 0.795 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.0001251/0.3214, allocations: 99.25 kB / 1.024 GB, free: 4.477 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001498/0.3215, allocations: 55.84 kB / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3215, allocations: 0 / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.604e-05/0.3216, allocations: 31.98 kB / 1.024 GB, free: 4.391 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.3218, allocations: 8.375 kB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.3221, allocations: 153.4 kB / 1.024 GB, free: 4.207 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.3224, allocations: 0.6807 MB / 1.025 GB, free: 3.5 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.38e-05/0.3224, allocations: 4 kB / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.856e-05/0.3225, allocations: 19.42 kB / 1.025 GB, free: 3.477 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.3225, allocations: 0 / 1.025 GB, free: 3.477 MB / 0.795 GB Notification: Performance of Templates: time 0.003587/0.3261, allocations: 0.6768 MB / 1.025 GB, free: 2.809 MB / 0.795 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 -s gbode -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