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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 103.2 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.616/2.616, allocations: 443.5 MB / 0.7287 GB, free: 14.7 MB / 0.5762 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 67.91 kB / 1.056 GB, free: 2.59 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3319, allocations: 160.7 MB / 1.213 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.003197/0.3351, allocations: 1.462 MB / 1.214 GB, free: 88 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.3362, allocations: 0.5033 MB / 1.215 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.138e-05/0.3362, allocations: 8 kB / 1.215 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.664e-05/0.3363, allocations: 3.984 kB / 1.215 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002681/0.3365, allocations: 11.88 kB / 1.215 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/0.3367, allocations: 31.89 kB / 1.215 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.3368, allocations: 55.8 kB / 1.215 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.3369, allocations: 4.266 kB / 1.215 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.3371, allocations: 23.97 kB / 1.215 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.276e-05/0.3372, allocations: 19.92 kB / 1.215 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.3372, allocations: 4 kB / 1.215 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.212e-05/0.3372, allocations: 8 kB / 1.215 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.447e-05/0.3372, allocations: 19.86 kB / 1.215 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.932e-05/0.3373, allocations: 23.91 kB / 1.215 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.3374, allocations: 35.83 kB / 1.215 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3374, allocations: 4 kB / 1.215 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.315e-06/0.3374, allocations: 0 / 1.215 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.3374, allocations: 0 / 1.215 GB, free: 15.33 MB / 0.9669 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.0006792/0.3381, allocations: 355.4 kB / 1.215 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.3381, allocations: 12.03 kB / 1.215 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.146e-05/0.3382, allocations: 30.75 kB / 1.215 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.3382, allocations: 12.88 kB / 1.215 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.3384, allocations: 164.3 kB / 1.216 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.3384, allocations: 8.375 kB / 1.216 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.3384, allocations: 384 / 1.216 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.3385, allocations: 65.72 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.3386, allocations: 0 / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.3386, allocations: 0 / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.3386, allocations: 8 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.667e-05/0.3387, allocations: 27.97 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.3391, allocations: 272.8 kB / 1.216 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.3393, allocations: 70.53 kB / 1.216 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.481e-05/0.3394, allocations: 16.86 kB / 1.216 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.3394, allocations: 4 kB / 1.216 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/0.3396, allocations: 71.38 kB / 1.216 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.3396, allocations: 0 / 1.216 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0002417/0.3398, allocations: 97.55 kB / 1.216 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.3399, allocations: 51.41 kB / 1.216 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.123e-05/0.34, allocations: 101.8 kB / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.34, allocations: 33.7 kB / 1.216 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.34, allocations: 88.09 kB / 1.217 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.3401, allocations: 19.89 kB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.3401, allocations: 17.72 kB / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3403, allocations: 318.8 kB / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.969e-05/0.3403, allocations: 12 kB / 1.217 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.702e-05/0.3403, allocations: 24.05 kB / 1.217 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.181e-05/0.3404, allocations: 32.86 kB / 1.217 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3404, allocations: 0 / 1.217 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001387/0.3405, allocations: 81.61 kB / 1.217 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.3406, allocations: 4 kB / 1.217 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.3406, allocations: 0 / 1.217 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3406, allocations: 0 / 1.217 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.54e-05/0.3407, allocations: 8.25 kB / 1.217 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3407, allocations: 0 / 1.217 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.708e-05/0.3407, allocations: 19.88 kB / 1.217 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.3408, allocations: 240 / 1.217 GB, free: 13.11 MB / 0.9669 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.194e-05/0.3408, allocations: 121.8 kB / 1.217 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.3409, allocations: 8 kB / 1.217 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/0.3411, allocations: 101.6 kB / 1.217 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3411, allocations: 4 kB / 1.217 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3411, allocations: 0 / 1.217 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3411, allocations: 0 / 1.217 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.3413, allocations: 185.5 kB / 1.217 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3413, allocations: 0 / 1.217 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.236e-05/0.3413, allocations: 15.92 kB / 1.217 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.3413, allocations: 4 kB / 1.217 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.3413, allocations: 4.094 kB / 1.217 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3413, allocations: 7.938 kB / 1.217 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3413, allocations: 0 / 1.217 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.3415, allocations: 117 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.3416, allocations: 85.06 kB / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.3416, allocations: 0 / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.989e-05/0.3417, allocations: 15.92 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.3417, allocations: 4 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.3417, allocations: 3.984 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.038e-05/0.3418, allocations: 87.28 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3418, allocations: 0 / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001859/0.3419, allocations: 12 kB / 1.218 GB, free: 12.24 MB / 0.9669 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.0005485/0.3425, allocations: 0.6514 MB / 1.218 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001495/0.3426, allocations: 51.91 kB / 1.218 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.3426, allocations: 4 kB / 1.218 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.149e-05/0.3427, allocations: 27.92 kB / 1.218 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.3429, allocations: 11.94 kB / 1.218 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.3441, allocations: 1.238 MB / 1.22 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.3445, allocations: 0.6866 MB / 1.22 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.183e-05/0.3445, allocations: 12.41 kB / 1.22 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.784e-05/0.3446, allocations: 15.44 kB / 1.22 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.3446, allocations: 0 / 1.22 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.3688, allocations: 1.655 MB / 1.222 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.004/8.373, allocations: 16.88 kB / 1.222 GB, free: 7.891 MB / 0.9669 GB " [Timeout remaining time 292] (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 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.3278374732472]