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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006834/0.006834, allocations: 99.92 kB / 15.73 MB, free: 6.055 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.001744/0.001744, allocations: 192.9 kB / 16.67 MB, free: 5.969 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.489/1.489, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.66/2.66, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003067/0.003067, allocations: 67.89 kB / 1.018 GB, free: 9.902 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.155/1.158, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.004491/1.163, allocations: 1.457 MB / 1.168 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001358/1.164, allocations: 0.5026 MB / 1.168 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/1.164, allocations: 0 / 1.168 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.603e-05/1.164, allocations: 3.938 kB / 1.168 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002976/1.165, allocations: 19.86 kB / 1.168 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/1.165, allocations: 27.95 kB / 1.168 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001395/1.165, allocations: 47.8 kB / 1.168 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/1.165, allocations: 15.98 kB / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/1.165, allocations: 27.91 kB / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/1.165, allocations: 19.92 kB / 1.168 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/1.165, allocations: 4 kB / 1.168 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.001e-05/1.165, allocations: 4 kB / 1.168 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.898e-05/1.166, allocations: 15.91 kB / 1.168 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.955e-05/1.166, allocations: 23.92 kB / 1.168 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001356/1.166, allocations: 35.69 kB / 1.168 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.166, allocations: 0 / 1.168 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.745e-06/1.166, allocations: 4 kB / 1.168 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.008e-05/1.166, allocations: 4 kB / 1.168 GB, free: 1.551 MB / 0.8887 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.0008423/1.167, allocations: 347.2 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.47e-05/1.167, allocations: 12.92 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.813e-05/1.167, allocations: 34.75 kB / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/1.167, allocations: 4.891 kB / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/1.167, allocations: 176.3 kB / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/1.167, allocations: 12.38 kB / 1.169 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/1.167, allocations: 384 / 1.169 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/1.167, allocations: 57.8 kB / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/1.167, allocations: 0 / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/1.167, allocations: 7.938 kB / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/1.167, allocations: 4 kB / 1.169 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/1.168, allocations: 27.97 kB / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005537/1.168, allocations: 272.8 kB / 1.169 GB, free: 480 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/1.169, allocations: 70.61 kB / 1.169 GB, free: 400 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.338e-05/1.169, allocations: 20.86 kB / 1.169 GB, free: 376 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/1.169, allocations: 0 / 1.169 GB, free: 376 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002514/1.169, allocations: 71.38 kB / 1.169 GB, free: 292 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/1.169, allocations: 0 / 1.169 GB, free: 292 kB / 0.8887 GB Notification: Performance of matching and sorting (n=6): time 0.0003768/1.169, allocations: 93.61 kB / 1.169 GB, free: 192 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.141e-05/1.169, allocations: 55.34 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/1.17, allocations: 109.8 kB / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.088e-05/1.17, allocations: 25.7 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.634e-05/1.17, allocations: 88.08 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/1.17, allocations: 15.94 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-05/1.17, allocations: 25.69 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002148/1.17, allocations: 318.8 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.891e-05/1.17, allocations: 23.98 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-05/1.17, allocations: 15.98 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/1.17, allocations: 40.94 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.17, allocations: 0 / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002226/1.171, allocations: 65.69 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/1.171, allocations: 14.64 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.171, allocations: 0 / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/1.171, allocations: 0 / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/1.171, allocations: 8 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/1.171, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/1.171, allocations: 15.94 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/1.171, allocations: 0 / 1.17 GB, free: 15.33 MB / 0.9044 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.000151/1.171, allocations: 121.7 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/1.171, allocations: 0 / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003375/1.172, allocations: 105.6 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/1.172, allocations: 0 / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.172, allocations: 0 / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/1.172, allocations: 0 / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/1.172, allocations: 201.5 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.172, allocations: 3.938 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/1.172, allocations: 8.25 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/1.172, allocations: 0 / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/1.172, allocations: 7.984 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/1.172, allocations: 4 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.172, allocations: 0 / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/1.172, allocations: 117 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-05/1.173, allocations: 89.06 kB / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/1.173, allocations: 0 / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/1.173, allocations: 7.984 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/1.173, allocations: 7.938 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/1.173, allocations: 4 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.019e-05/1.173, allocations: 87.27 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.4e-07/1.173, allocations: 0 / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003505/1.173, allocations: 12 kB / 1.171 GB, free: 14.46 MB / 0.9044 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.000777/1.174, allocations: 0.6553 MB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002227/1.174, allocations: 51.91 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.174, allocations: 0 / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/1.174, allocations: 32.12 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/1.175, allocations: 9.297 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/1.177, allocations: 1.223 MB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/1.177, allocations: 0.6868 MB / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.297e-05/1.177, allocations: 7.984 kB / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.659e-05/1.178, allocations: 15.44 kB / 1.174 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of SimCode: time 5.61e-07/1.178, allocations: 0 / 1.174 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03398/1.212, allocations: 1.67 MB / 1.175 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.85, allocations: 9.531 kB / 1.175 GB, free: 10.12 MB / 0.9044 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.csv","/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