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.0009662/0.000966, allocations: 92.31 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 180.2 kB / 16.92 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.4/1.4, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.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.47/2.47, allocations: 390.9 MB / 0.667 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003967/0.000397, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7752/0.7756, allocations: 142.4 MB / 0.9557 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001577/0.7773, allocations: 1.172 MB / 0.9569 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007056/0.778, allocations: 499.2 kB / 0.9573 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.112e-05/0.778, allocations: 4 kB / 0.9573 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.7781, allocations: 0 / 0.9573 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.7783, allocations: 14.08 kB / 0.9573 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.215e-05/0.7784, allocations: 29.28 kB / 0.9574 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.665e-05/0.7785, allocations: 39.95 kB / 0.9574 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.571e-05/0.7786, allocations: 7.641 kB / 0.9574 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.535e-05/0.7787, allocations: 25.58 kB / 0.9574 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.165e-05/0.7788, allocations: 27.97 kB / 0.9575 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.7788, allocations: 2.312 kB / 0.9575 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.344e-05/0.7788, allocations: 6.688 kB / 0.9575 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.343e-05/0.7788, allocations: 9.578 kB / 0.9575 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.621e-05/0.7789, allocations: 46.94 kB / 0.9575 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.467e-05/0.779, allocations: 25 kB / 0.9576 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.779, allocations: 1.094 kB / 0.9576 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.773e-06/0.779, allocations: 0 / 0.9576 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.779, allocations: 0 / 0.9576 GB, free: 6.242 MB / 0.7169 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.0004871/0.7795, allocations: 349.7 kB / 0.9579 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.7795, allocations: 9.188 kB / 0.9579 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.7796, allocations: 11.08 kB / 0.9579 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.416e-05/0.7797, allocations: 167.2 kB / 0.9581 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.7797, allocations: 10.5 kB / 0.9581 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.7797, allocations: 2.594 kB / 0.9581 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.7799, allocations: 57.52 kB / 0.9581 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.7799, allocations: 4 kB / 0.9581 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.7799, allocations: 1.125 kB / 0.9581 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.7799, allocations: 0 / 0.9581 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.55e-05/0.78, allocations: 28.86 kB / 0.9582 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.7803, allocations: 281.3 kB / 0.9584 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.7806, allocations: 65.56 kB / 0.9585 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.501e-05/0.7806, allocations: 26.5 kB / 0.9585 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.7806, allocations: 1.344 kB / 0.9585 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.7808, allocations: 69.31 kB / 0.9586 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.7808, allocations: 0 / 0.9586 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002353/0.7811, allocations: 95.05 kB / 0.9587 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.7811, allocations: 52.94 kB / 0.9587 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.805e-05/0.7812, allocations: 108 kB / 0.9588 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.7812, allocations: 27.27 kB / 0.9589 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.034e-05/0.7812, allocations: 81.7 kB / 0.9589 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.7813, allocations: 13 kB / 0.959 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.7813, allocations: 15.72 kB / 0.959 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.268e-05/0.7814, allocations: 319.9 kB / 0.9593 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.689e-05/0.7814, allocations: 11.91 kB / 0.9593 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.223e-05/0.7814, allocations: 20.8 kB / 0.9593 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.961e-05/0.7815, allocations: 44.64 kB / 0.9593 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7815, allocations: 1.938 kB / 0.9594 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001095/0.7816, allocations: 77.11 kB / 0.9594 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.7817, allocations: 5.375 kB / 0.9594 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.7817, allocations: 0 / 0.9594 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.7817, allocations: 1.812 kB / 0.9594 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.126e-05/0.7818, allocations: 11.14 kB / 0.9594 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.7818, allocations: 5.75 kB / 0.9594 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.663e-05/0.7819, allocations: 3.562 kB / 0.9595 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.7819, allocations: 1.781 kB / 0.9595 GB, free: 4.328 MB / 0.7169 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 6.211e-05/0.7819, allocations: 119.6 kB / 0.9596 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.782, allocations: 9.734 kB / 0.9596 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.7822, allocations: 100.8 kB / 0.9597 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.7822, allocations: 6.141 kB / 0.9597 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.7822, allocations: 0 / 0.9597 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.7822, allocations: 3.938 kB / 0.9597 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.7823, allocations: 177.5 kB / 0.9599 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7823, allocations: 0.9062 kB / 0.9599 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.197e-05/0.7824, allocations: 16.98 kB / 0.9599 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.7824, allocations: 1.156 kB / 0.9599 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.7824, allocations: 5.156 kB / 0.9599 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.7824, allocations: 0 / 0.9599 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.7824, allocations: 1.406 kB / 0.9599 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.7826, allocations: 117.2 kB / 0.96 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.498e-05/0.7826, allocations: 87.75 kB / 0.9601 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.7827, allocations: 9.109 kB / 0.9601 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.602e-05/0.7827, allocations: 6.5 kB / 0.9601 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.7828, allocations: 11.8 kB / 0.9601 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.7828, allocations: 2.25 kB / 0.9601 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.69e-05/0.7828, allocations: 79.91 kB / 0.9602 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7828, allocations: 0 / 0.9602 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001939/0.783, allocations: 14.12 kB / 0.9602 GB, free: 3.594 MB / 0.7169 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.0001125/0.7832, allocations: 102.4 kB / 0.9603 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001473/0.7833, allocations: 57 kB / 0.9603 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7833, allocations: 3.938 kB / 0.9603 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.212e-05/0.7834, allocations: 38.77 kB / 0.9604 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.7836, allocations: 6.469 kB / 0.9604 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.7839, allocations: 183.3 kB / 0.9606 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.784, allocations: 0.6882 MB / 0.9612 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.7841, allocations: 11.47 kB / 0.9612 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.7841, allocations: 0 / 0.9612 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of Templates: time 0.002062/0.7862, allocations: 0.8072 MB / 0.962 GB, free: 2.148 MB / 0.7169 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 -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