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.005928/0.005928, allocations: 101 kB / 15.73 MB, free: 6.043 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.001194/0.001194, allocations: 188.3 kB / 16.67 MB, free: 5.973 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.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.698/2.698, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 63.89 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3219, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.00265/0.3246, allocations: 1.445 MB / 1.168 GB, free: 5.809 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008985/0.3255, allocations: 0.5025 MB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.89e-05/0.3256, allocations: 0 / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.308e-05/0.3256, allocations: 0 / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002399/0.3259, allocations: 27.84 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001122/0.326, allocations: 23.91 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.809e-05/0.3261, allocations: 51.84 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.881e-05/0.3262, allocations: 11.98 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.867e-05/0.3263, allocations: 27.92 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.49e-05/0.3264, allocations: 23.91 kB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.3265, allocations: 4 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.445e-05/0.3265, allocations: 7.938 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.515e-05/0.3265, allocations: 7.984 kB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.685e-05/0.3266, allocations: 23.92 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.736e-05/0.3267, allocations: 42.62 kB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3267, allocations: 0 / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3267, allocations: 7.938 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.3267, allocations: 0 / 1.168 GB, free: 5.047 MB / 0.92 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.0005488/0.3273, allocations: 352.2 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3273, allocations: 12.03 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.668e-05/0.3274, allocations: 34.75 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.3274, allocations: 4.938 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.3275, allocations: 172.3 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.3275, allocations: 4.375 kB / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.3276, allocations: 4.375 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.3277, allocations: 65.73 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.3277, allocations: 0 / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3277, allocations: 0 / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3277, allocations: 4 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.119e-05/0.3278, allocations: 27.97 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.3282, allocations: 272.8 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.3284, allocations: 74.61 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.533e-05/0.3285, allocations: 20.86 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.3285, allocations: 0 / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/0.3287, allocations: 71.38 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.3287, allocations: 0 / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0002445/0.3289, allocations: 89.52 kB / 1.169 GB, free: 3.684 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.329, allocations: 59.41 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.328e-05/0.3291, allocations: 105.8 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.3291, allocations: 25.7 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.915e-05/0.3292, allocations: 84.14 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.3292, allocations: 15.75 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.3292, allocations: 25.7 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3294, allocations: 314.8 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.843e-05/0.3294, allocations: 15.98 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.159e-05/0.3295, allocations: 19.98 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.054e-05/0.3295, allocations: 36.86 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3295, allocations: 0 / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001235/0.3297, allocations: 77.59 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.3297, allocations: 11.98 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3297, allocations: 4.172 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3297, allocations: 0 / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.427e-05/0.3298, allocations: 8 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.3298, allocations: 3.984 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.547e-05/0.3299, allocations: 7.984 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.3299, allocations: 0 / 1.17 GB, free: 2.828 MB / 0.92 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 9.625e-05/0.33, allocations: 121.8 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.222e-05/0.33, allocations: 3.938 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.3302, allocations: 105.6 kB / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3302, allocations: 0 / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3302, allocations: 0 / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3303, allocations: 4 kB / 1.17 GB, free: 2.578 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.3304, allocations: 189.4 kB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3304, allocations: 0 / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.003e-05/0.3305, allocations: 15.94 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3305, allocations: 0 / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.3305, allocations: 8.234 kB / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3305, allocations: 0 / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3305, allocations: 4 kB / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.3307, allocations: 117 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.3308, allocations: 85.02 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.3308, allocations: 192 / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.764e-05/0.3309, allocations: 15.98 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.3309, allocations: 3.984 kB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.3309, allocations: 4 kB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.664e-05/0.331, allocations: 87.27 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.331, allocations: 0 / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001891/0.3312, allocations: 12 kB / 1.171 GB, free: 1.961 MB / 0.92 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.0004939/0.3317, allocations: 0.6595 MB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001407/0.3318, allocations: 51.91 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3318, allocations: 0 / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.241e-05/0.3319, allocations: 31.94 kB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.3321, allocations: 7.984 kB / 1.172 GB, free: 1.184 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.3333, allocations: 1.231 MB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.3335, allocations: 0.6807 MB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.079e-05/0.3336, allocations: 11.98 kB / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.641e-05/0.3336, allocations: 15.44 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of SimCode: time 2.01e-07/0.3337, allocations: 0 / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0162/0.3499, allocations: 1.657 MB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.033/7.383, allocations: 23.64 kB / 1.175 GB, free: 13.61 MB / 0.9356 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 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.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