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.0008618/0.0008618, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.000888/0.000888, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.3 MB / 240 MB, free: 5.395 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.715/2.715, allocations: 390.9 MB / 0.666 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003985/0.0003986, allocations: 8 kB / 0.8153 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9071/0.9076, allocations: 142.4 MB / 0.9544 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001747/0.9094, allocations: 1.161 MB / 0.9556 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007769/0.9102, allocations: 480.3 kB / 0.956 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.993e-05/0.9102, allocations: 0 / 0.956 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.088e-05/0.9103, allocations: 5.594 kB / 0.956 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.9105, allocations: 20.98 kB / 0.9561 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/0.9107, allocations: 28.52 kB / 0.9561 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.628e-05/0.9108, allocations: 40.52 kB / 0.9561 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.9109, allocations: 10.86 kB / 0.9561 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.911, allocations: 18.28 kB / 0.9561 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.633e-05/0.9111, allocations: 28.3 kB / 0.9562 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.9111, allocations: 2.219 kB / 0.9562 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.56e-05/0.9112, allocations: 1.25 kB / 0.9562 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.9112, allocations: 6.203 kB / 0.9562 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.9112, allocations: 40.42 kB / 0.9562 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.861e-05/0.9113, allocations: 22.66 kB / 0.9562 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.9113, allocations: 0 / 0.9562 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9113, allocations: 0 / 0.9562 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.9113, allocations: 0 / 0.9562 GB, free: 6.488 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.0005312/0.9119, allocations: 346.8 kB / 0.9566 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.9119, allocations: 12.69 kB / 0.9566 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.912, allocations: 13.66 kB / 0.9566 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.9121, allocations: 162.3 kB / 0.9568 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.9122, allocations: 5.062 kB / 0.9568 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.9122, allocations: 2.375 kB / 0.9568 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.9123, allocations: 57.38 kB / 0.9568 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.9123, allocations: 0 / 0.9568 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.9124, allocations: 1.031 kB / 0.9568 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.9124, allocations: 5.047 kB / 0.9568 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.028e-05/0.9125, allocations: 31.75 kB / 0.9569 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.9128, allocations: 273.6 kB / 0.9571 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.913, allocations: 61.17 kB / 0.9572 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.362e-05/0.9131, allocations: 26.36 kB / 0.9572 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.9131, allocations: 0 / 0.9572 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.9133, allocations: 77.94 kB / 0.9573 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.9133, allocations: 0 / 0.9573 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002415/0.9136, allocations: 94.94 kB / 0.9574 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.9136, allocations: 52.72 kB / 0.9574 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.056e-05/0.9137, allocations: 107.7 kB / 0.9575 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.9137, allocations: 26.8 kB / 0.9575 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.937e-05/0.9137, allocations: 84.89 kB / 0.9576 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.9137, allocations: 19.33 kB / 0.9576 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.9137, allocations: 4 kB / 0.9576 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.375e-05/0.9138, allocations: 316 kB / 0.9579 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.639e-05/0.9138, allocations: 19.89 kB / 0.958 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.941e-05/0.9139, allocations: 15.53 kB / 0.958 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.514e-05/0.9139, allocations: 16 kB / 0.958 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9139, allocations: 0 / 0.958 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001191/0.9141, allocations: 75.11 kB / 0.9581 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.9141, allocations: 4.312 kB / 0.9581 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.9141, allocations: 1.438 kB / 0.9581 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.9141, allocations: 7.953 kB / 0.9581 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.782e-05/0.9142, allocations: 15.33 kB / 0.9581 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.9142, allocations: 1.125 kB / 0.9581 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.648e-05/0.9143, allocations: 3.156 kB / 0.9581 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.9143, allocations: 2.406 kB / 0.9581 GB, free: 4.605 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 ($whenCondition1,$PRE.eqnTim.tNext,eqnTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.279e-05/0.9144, allocations: 112.2 kB / 0.9582 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.9144, allocations: 2.219 kB / 0.9582 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001963/0.9146, allocations: 111.6 kB / 0.9583 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.9146, allocations: 5.266 kB / 0.9583 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.9146, allocations: 1.156 kB / 0.9583 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.9146, allocations: 7.969 kB / 0.9583 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.963e-05/0.9147, allocations: 178.6 kB / 0.9585 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.9147, allocations: 0 / 0.9585 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.111e-05/0.9148, allocations: 16.58 kB / 0.9585 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.9148, allocations: 1.125 kB / 0.9585 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.9148, allocations: 1.094 kB / 0.9585 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.9148, allocations: 1.219 kB / 0.9585 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.9148, allocations: 3.953 kB / 0.9585 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.915, allocations: 121.5 kB / 0.9586 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.641e-05/0.915, allocations: 83.11 kB / 0.9587 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.9151, allocations: 1.188 kB / 0.9587 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.802e-05/0.9151, allocations: 11.05 kB / 0.9587 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.9152, allocations: 8.016 kB / 0.9587 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.9152, allocations: 6.266 kB / 0.9587 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.813e-05/0.9152, allocations: 91.78 kB / 0.9588 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9152, allocations: 0 / 0.9588 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000196/0.9154, allocations: 9.25 kB / 0.9588 GB, free: 3.867 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001006/0.9155, allocations: 102.7 kB / 0.9589 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001442/0.9157, allocations: 51.62 kB / 0.959 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.9157, allocations: 3.938 kB / 0.959 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.978e-05/0.9158, allocations: 31.17 kB / 0.959 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.9159, allocations: 5.844 kB / 0.959 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.9163, allocations: 155.7 kB / 0.9592 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.9164, allocations: 0.6886 MB / 0.9598 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.429e-05/0.9164, allocations: 3.281 kB / 0.9598 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.9165, allocations: 15.72 kB / 0.9599 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.9165, allocations: 0 / 0.9599 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of Templates: time 0.002788/0.9193, allocations: 0.6099 MB / 0.9605 GB, free: 2.551 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/jenkins/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