Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 105.2 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 212.9 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.453/1.453, allocations: 230.6 MB / 252.8 MB, free: 9.137 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.214/3.214, allocations: 0.49 GB / 0.7916 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 77.73 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3805, allocations: 176.1 MB / 1.321 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.003239/0.3837, allocations: 1.468 MB / 1.322 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.3849, allocations: 0.5765 MB / 1.323 GB, free: 1.289 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.168e-05/0.385, allocations: 0 / 1.323 GB, free: 1.289 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.251e-05/0.385, allocations: 0 / 1.323 GB, free: 1.289 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.3852, allocations: 19.84 kB / 1.323 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000172/0.3854, allocations: 35.91 kB / 1.323 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.3855, allocations: 51.84 kB / 1.323 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3856, allocations: 7.938 kB / 1.323 GB, free: 1.176 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.3858, allocations: 35.84 kB / 1.323 GB, free: 1.141 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.358e-05/0.3859, allocations: 23.91 kB / 1.323 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.3859, allocations: 4 kB / 1.323 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.295e-05/0.386, allocations: 20 kB / 1.323 GB, free: 1.094 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.386, allocations: 7.984 kB / 1.323 GB, free: 1.086 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.318e-05/0.386, allocations: 19.91 kB / 1.323 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.3862, allocations: 47.88 kB / 1.323 GB, free: 1.02 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.3862, allocations: 3.938 kB / 1.323 GB, free: 1.016 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3862, allocations: 4 kB / 1.323 GB, free: 1.012 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.3862, allocations: 0 / 1.323 GB, free: 1.012 MB / 1.014 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.0006905/0.3869, allocations: 355.3 kB / 1.323 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.3869, allocations: 15.98 kB / 1.323 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.821e-05/0.387, allocations: 42.67 kB / 1.323 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.3872, allocations: 12.89 kB / 1.323 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.3873, allocations: 172.4 kB / 1.324 GB, free: 340 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.3873, allocations: 4.312 kB / 1.324 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.3874, allocations: 4.375 kB / 1.324 GB, free: 332 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.3875, allocations: 57.8 kB / 1.324 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.3875, allocations: 0 / 1.324 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.3875, allocations: 4 kB / 1.324 GB, free: 264 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.3875, allocations: 0 / 1.324 GB, free: 264 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.747e-05/0.3876, allocations: 19.98 kB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/0.3881, allocations: 280.8 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.3883, allocations: 70.62 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.941e-05/0.3884, allocations: 20.84 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.3884, allocations: 0 / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.3886, allocations: 71.33 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3886, allocations: 4 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0002818/0.3889, allocations: 93.61 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.3889, allocations: 51.41 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.389, allocations: 105.8 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.3891, allocations: 25.7 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.3891, allocations: 80.14 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.3891, allocations: 23.92 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.3892, allocations: 21.7 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3893, allocations: 322.8 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.017e-05/0.3894, allocations: 15.98 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.068e-05/0.3894, allocations: 12 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.766e-05/0.3895, allocations: 48.92 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.3895, allocations: 0 / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000132/0.3897, allocations: 65.69 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3897, allocations: 9.969 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3897, allocations: 0 / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3897, allocations: 0 / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.053e-05/0.3898, allocations: 11.98 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.3898, allocations: 8 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.137e-05/0.3898, allocations: 4 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.3899, allocations: 7.984 kB / 1.325 GB, free: 14.78 MB / 1.029 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.0001147/0.39, allocations: 116.6 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.39, allocations: 11.95 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.3902, allocations: 105.5 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3902, allocations: 0 / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3902, allocations: 7.938 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3902, allocations: 192 / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.3904, allocations: 185.6 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3904, allocations: 0 / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.156e-05/0.3905, allocations: 12 kB / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.3905, allocations: 3.984 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.3905, allocations: 3.984 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3905, allocations: 256 / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3905, allocations: 0 / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.3908, allocations: 132.9 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.3908, allocations: 77.11 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.3908, allocations: 4 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.908e-05/0.3909, allocations: 4 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.391, allocations: 7.984 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.391, allocations: 4 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.617e-05/0.391, allocations: 87.27 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.391, allocations: 0 / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001986/0.3912, allocations: 15.95 kB / 1.326 GB, free: 13.91 MB / 1.029 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.0005947/0.3918, allocations: 0.6553 MB / 1.326 GB, free: 13.22 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001506/0.392, allocations: 52.12 kB / 1.326 GB, free: 13.17 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.392, allocations: 0 / 1.326 GB, free: 13.17 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.755e-05/0.392, allocations: 27.94 kB / 1.326 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.3922, allocations: 4 kB / 1.326 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.3937, allocations: 1.227 MB / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.394, allocations: 0.6924 MB / 1.328 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.089e-05/0.3941, allocations: 7.984 kB / 1.328 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.326e-05/0.3941, allocations: 15.44 kB / 1.328 GB, free: 11.09 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3941, allocations: 0 / 1.328 GB, free: 11.09 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0256/0.4197, allocations: 1.669 MB / 1.33 GB, free: 9.566 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.804/8.223, allocations: 13.11 kB / 1.33 GB, free: 9.559 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.122680756961927]