Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001179/0.001179, allocations: 108.2 kB / 17.54 MB, free: 4.746 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.001171/0.001171, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.297/1.297, allocations: 225.6 MB / 249.3 MB, free: 3.207 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.489/2.489, allocations: 476.7 MB / 0.7628 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 63.89 kB / 1.107 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7949/0.7967, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002069/0.7987, allocations: 1.471 MB / 1.273 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006737/0.7994, allocations: 0.5182 MB / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.427e-05/0.7995, allocations: 0.9062 kB / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.224e-05/0.7995, allocations: 1.172 kB / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.7996, allocations: 20.22 kB / 1.273 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.716e-05/0.7997, allocations: 27.3 kB / 1.273 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.86e-05/0.7998, allocations: 51.06 kB / 1.273 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.208e-05/0.7999, allocations: 12.22 kB / 1.273 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.933e-05/0.8, allocations: 22.67 kB / 1.273 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.19e-05/0.8, allocations: 25.72 kB / 1.273 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.8001, allocations: 4.25 kB / 1.273 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.339e-05/0.8001, allocations: 3.75 kB / 1.273 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.8001, allocations: 25.12 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/0.8001, allocations: 16.08 kB / 1.274 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.423e-05/0.8002, allocations: 40.67 kB / 1.274 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.8002, allocations: 0.8125 kB / 1.274 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8002, allocations: 0 / 1.274 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.8002, allocations: 0.8125 kB / 1.274 GB, free: 6.242 MB / 0.9981 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.0004242/0.8006, allocations: 360 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.8007, allocations: 9.656 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.453e-05/0.8007, allocations: 32.34 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.387e-05/0.8007, allocations: 4.25 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.601e-05/0.8008, allocations: 165 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.8008, allocations: 5.812 kB / 1.274 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.8008, allocations: 2.656 kB / 1.274 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.8009, allocations: 65.89 kB / 1.274 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.8009, allocations: 5.5 kB / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.505e-06/0.8009, allocations: 0 / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.8009, allocations: 1 kB / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.052e-05/0.801, allocations: 25.53 kB / 1.274 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002387/0.8012, allocations: 274.5 kB / 1.274 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.8014, allocations: 66.84 kB / 1.275 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.684e-05/0.8015, allocations: 25.12 kB / 1.275 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.8015, allocations: 4.75 kB / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001159/0.8016, allocations: 73.36 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.8016, allocations: 0 / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0001916/0.8018, allocations: 90.06 kB / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.111e-05/0.8018, allocations: 53.12 kB / 1.275 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.139e-05/0.8018, allocations: 105.7 kB / 1.275 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.8019, allocations: 30.86 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.835e-05/0.8019, allocations: 94.11 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.8019, allocations: 16.67 kB / 1.275 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.8019, allocations: 20.19 kB / 1.275 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.251e-05/0.802, allocations: 320.3 kB / 1.275 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.218e-05/0.802, allocations: 11.31 kB / 1.275 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.919e-05/0.802, allocations: 18.14 kB / 1.275 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.17e-05/0.8021, allocations: 36 kB / 1.275 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8021, allocations: 5.031 kB / 1.275 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001026/0.8022, allocations: 76.23 kB / 1.275 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.8022, allocations: 5.125 kB / 1.275 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-06/0.8022, allocations: 0 / 1.275 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.8022, allocations: 3.672 kB / 1.275 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.791e-05/0.8023, allocations: 7.938 kB / 1.275 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.8023, allocations: 0.5312 kB / 1.275 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.197e-05/0.8023, allocations: 4.516 kB / 1.275 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.8024, allocations: 3.172 kB / 1.275 GB, free: 4.383 MB / 0.9981 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 4.477e-05/0.8024, allocations: 121.3 kB / 1.276 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.8024, allocations: 2 kB / 1.276 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.8026, allocations: 104.2 kB / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.8026, allocations: 2.109 kB / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.8026, allocations: 1.188 kB / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.8026, allocations: 0 / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.138e-05/0.8027, allocations: 188.4 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8027, allocations: 1.125 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.988e-05/0.8027, allocations: 18.69 kB / 1.276 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.8027, allocations: 4.844 kB / 1.276 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.8027, allocations: 7.625 kB / 1.276 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.8027, allocations: 1.125 kB / 1.276 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.8027, allocations: 96 / 1.276 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.8029, allocations: 121.3 kB / 1.276 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.786e-05/0.8029, allocations: 84.91 kB / 1.276 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.8029, allocations: 1.031 kB / 1.276 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.505e-05/0.803, allocations: 8.234 kB / 1.276 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.943e-05/0.803, allocations: 8.797 kB / 1.276 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.803, allocations: 3.828 kB / 1.276 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.321e-05/0.803, allocations: 87.47 kB / 1.276 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.803, allocations: 3.938 kB / 1.276 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001762/0.8032, allocations: 9.75 kB / 1.276 GB, free: 3.68 MB / 0.9981 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.0002784/0.8035, allocations: 0.6621 MB / 1.277 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001293/0.8036, allocations: 49.06 kB / 1.277 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.8036, allocations: 0 / 1.277 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.45e-05/0.8037, allocations: 27.77 kB / 1.277 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.8038, allocations: 5.688 kB / 1.277 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007806/0.8046, allocations: 1.234 MB / 1.278 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.8049, allocations: 0.6878 MB / 1.279 GB, free: 17.17 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.743e-05/0.8049, allocations: 15.05 kB / 1.279 GB, free: 17.16 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.805, allocations: 14.81 kB / 1.279 GB, free: 17.15 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.805, allocations: 0 / 1.279 GB, free: 17.15 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02232/0.8273, allocations: 1.636 MB / 1.28 GB, free: 16.77 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.85/7.677, allocations: 12.3 kB / 1.28 GB, free: 16.77 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.94218853700022]