Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.001678/0.001678, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001918/0.001918, allocations: 211.8 kB / 22.25 MB, free: 5.121 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.789/2.789, allocations: 476.7 MB / 0.7707 GB, free: 4.207 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.SolarTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.001971/0.001971, allocations: 67.39 kB / 1.117 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3062, allocations: 169.9 MB / 1.283 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003222/0.3094, allocations: 1.646 MB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.3107, allocations: 0.6172 MB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.023e-05/0.3108, allocations: 0 / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.646e-05/0.3108, allocations: 11.86 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003041/0.3111, allocations: 35.77 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.3113, allocations: 47.88 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.3115, allocations: 107.6 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.3116, allocations: 23.66 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.3118, allocations: 59.83 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.3119, allocations: 51.81 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.3119, allocations: 8 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.478e-05/0.312, allocations: 16 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.221e-05/0.312, allocations: 19.92 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.328e-05/0.3121, allocations: 43.8 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.3123, allocations: 112 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3123, allocations: 0 / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3123, allocations: 0 / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.3123, allocations: 0 / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007793/0.3131, allocations: 333.9 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.3132, allocations: 12.03 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.204e-05/0.3132, allocations: 38.73 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.3134, allocations: 16.89 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.3136, allocations: 126.4 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.3136, allocations: 4.375 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.3136, allocations: 8.375 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.3138, allocations: 93.7 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3138, allocations: 0 / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.3138, allocations: 8 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.3138, allocations: 3.984 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.3139, allocations: 43.97 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005648/0.3145, allocations: 319.7 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.3148, allocations: 98.72 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.119e-05/0.3149, allocations: 40.84 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.3149, allocations: 3.938 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002459/0.3152, allocations: 99.28 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/0.3152, allocations: 3.938 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0003485/0.3155, allocations: 145.9 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.3156, allocations: 55.39 kB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.3157, allocations: 129.8 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.3157, allocations: 25.7 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.101e-05/0.3158, allocations: 96.31 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.3158, allocations: 31.89 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/0.3159, allocations: 29.64 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.316, allocations: 326.8 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.328e-05/0.3161, allocations: 27.98 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.691e-05/0.3161, allocations: 38.55 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.3163, allocations: 60.86 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3163, allocations: 0 / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001985/0.3165, allocations: 109.6 kB / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3165, allocations: 11.98 kB / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3165, allocations: 0 / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.3165, allocations: 0 / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.3166, allocations: 23.92 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3166, allocations: 4 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.3167, allocations: 15.83 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.3167, allocations: 8 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001112/0.3168, allocations: 121.5 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.18e-05/0.3169, allocations: 7.953 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/0.3171, allocations: 142 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3171, allocations: 0 / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3171, allocations: 0 / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3172, allocations: 11.94 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.3173, allocations: 176.7 kB / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.3173, allocations: 7.984 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.383e-05/0.3174, allocations: 16 kB / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3174, allocations: 0 / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.3174, allocations: 0 / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.3174, allocations: 4 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3175, allocations: 3.984 kB / 1.289 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.3177, allocations: 168.9 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.3177, allocations: 15.84 kB / 1.289 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.3178, allocations: 4 kB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.3179, allocations: 7.984 kB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.3179, allocations: 19.86 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.318, allocations: 7.984 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.592e-05/0.318, allocations: 103.2 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.318, allocations: 0 / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002335/0.3183, allocations: 24 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006289/0.3189, allocations: 0.6983 MB / 1.29 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002079/0.3191, allocations: 76.97 kB / 1.29 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3191, allocations: 0 / 1.29 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.3192, allocations: 47.91 kB / 1.29 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.3194, allocations: 11.94 kB / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.3212, allocations: 1.453 MB / 1.291 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.3216, allocations: 0.6963 MB / 1.292 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.668e-05/0.3216, allocations: 16.33 kB / 1.292 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.757e-05/0.3217, allocations: 35.42 kB / 1.292 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.3217, allocations: 0 / 1.292 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.3515, allocations: 2.469 MB / 1.295 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.36, allocations: 11.14 kB / 1.295 GB, free: 15.88 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --stepSize=172.765 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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: 17.891102886991575]