Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001213/0.001213, allocations: 108.6 kB / 16.37 MB, free: 6.465 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.001272/0.001272, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.417/1.417, 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 9.1.2-maint.9.1.x/package.mo): time 2.273/2.273, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 70.36 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3104, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002699/0.3131, allocations: 1.452 MB / 0.9525 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008077/0.314, allocations: 0.4987 MB / 0.953 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.259e-05/0.314, allocations: 4 kB / 0.953 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.262e-05/0.3141, allocations: 3.938 kB / 0.953 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.3143, allocations: 19.86 kB / 0.9531 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000111/0.3144, allocations: 23.97 kB / 0.9531 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9e-05/0.3145, allocations: 55.78 kB / 0.9531 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.925e-05/0.3146, allocations: 8 kB / 0.9531 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.3147, allocations: 27.91 kB / 0.9532 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.978e-05/0.3148, allocations: 27.84 kB / 0.9532 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.3148, allocations: 4 kB / 0.9532 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.352e-05/0.3149, allocations: 4 kB / 0.9532 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.863e-05/0.3149, allocations: 15.92 kB / 0.9532 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.315, allocations: 19.92 kB / 0.9532 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.511e-05/0.3151, allocations: 43.81 kB / 0.9533 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3151, allocations: 0 / 0.9533 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.026e-06/0.3151, allocations: 0 / 0.9533 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.3151, allocations: 4 kB / 0.9533 GB, free: 5.84 MB / 0.7325 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.0005824/0.3157, allocations: 347.5 kB / 0.9536 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3157, allocations: 8.031 kB / 0.9536 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.3158, allocations: 8.844 kB / 0.9536 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.3159, allocations: 168.3 kB / 0.9538 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.3159, allocations: 4.375 kB / 0.9538 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.3159, allocations: 4.312 kB / 0.9538 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.3161, allocations: 69.95 kB / 0.9539 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3161, allocations: 0 / 0.9539 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.3161, allocations: 0 / 0.9539 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.3161, allocations: 4 kB / 0.9539 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.337e-05/0.3162, allocations: 23.98 kB / 0.9539 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.3167, allocations: 272.8 kB / 0.9542 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.3169, allocations: 70.61 kB / 0.9542 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.977e-05/0.317, allocations: 24.84 kB / 0.9542 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.317, allocations: 3.938 kB / 0.9542 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.3172, allocations: 67.39 kB / 0.9543 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.3172, allocations: 0 / 0.9543 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0002295/0.3174, allocations: 93.59 kB / 0.9544 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.3174, allocations: 59.41 kB / 0.9545 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.544e-05/0.3175, allocations: 101.8 kB / 0.9546 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.3175, allocations: 25.7 kB / 0.9546 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.3176, allocations: 92.12 kB / 0.9547 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.3176, allocations: 15.66 kB / 0.9547 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.3177, allocations: 25.7 kB / 0.9547 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3178, allocations: 318.8 kB / 0.955 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.929e-05/0.3178, allocations: 12 kB / 0.955 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.304e-05/0.3179, allocations: 20.05 kB / 0.955 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.163e-05/0.3179, allocations: 44.98 kB / 0.9551 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.318, allocations: 3.938 kB / 0.9551 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001167/0.3181, allocations: 65.69 kB / 0.9551 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3181, allocations: 8 kB / 0.9552 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.3181, allocations: 3.938 kB / 0.9552 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3181, allocations: 0 / 0.9552 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.581e-05/0.3182, allocations: 12.23 kB / 0.9552 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3182, allocations: 0 / 0.9552 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.185e-05/0.3183, allocations: 12 kB / 0.9552 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.3183, allocations: 4 kB / 0.9552 GB, free: 3.66 MB / 0.7325 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.242e-05/0.3184, allocations: 119.8 kB / 0.9553 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/0.3184, allocations: 7.891 kB / 0.9553 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002062/0.3187, allocations: 97.58 kB / 0.9554 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-05/0.3187, allocations: 3.984 kB / 0.9554 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3187, allocations: 4 kB / 0.9554 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3187, allocations: 0 / 0.9554 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.3189, allocations: 185.5 kB / 0.9556 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3189, allocations: 0 / 0.9556 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.33e-05/0.3189, allocations: 15.98 kB / 0.9556 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.319, allocations: 0 / 0.9556 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.319, allocations: 4 kB / 0.9556 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.319, allocations: 0 / 0.9556 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.319, allocations: 0 / 0.9556 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.3192, allocations: 124.8 kB / 0.9557 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.396e-05/0.3192, allocations: 93.03 kB / 0.9558 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.3193, allocations: 0 / 0.9558 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.027e-05/0.3193, allocations: 8 kB / 0.9558 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.3194, allocations: 3.984 kB / 0.9558 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.3194, allocations: 8 kB / 0.9558 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.327e-05/0.3195, allocations: 79.28 kB / 0.9559 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.3195, allocations: 0 / 0.9559 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001981/0.3197, allocations: 16 kB / 0.9559 GB, free: 2.797 MB / 0.7325 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.0001432/0.3198, allocations: 103.4 kB / 0.956 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.32, allocations: 55.8 kB / 0.9561 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.32, allocations: 4 kB / 0.9561 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.189e-05/0.3201, allocations: 31.92 kB / 0.9561 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.3202, allocations: 9.875 kB / 0.9561 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/0.3206, allocations: 141.5 kB / 0.9563 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.3209, allocations: 0.6844 MB / 0.9569 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.214e-05/0.3209, allocations: 11.98 kB / 0.9569 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.3209, allocations: 11.44 kB / 0.9569 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.321, allocations: 0 / 0.9569 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of Templates: time 0.002967/0.3239, allocations: 0.6889 MB / 0.9576 GB, free: 1.02 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches