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.001746/0.001746, allocations: 80.36 kB / 19.18 MB, free: 2.527 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.00191/0.00191, allocations: 165.7 kB / 22.46 MB, free: 5.355 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.626/1.626, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.65/2.65, allocations: 359 MB / 0.6037 GB, free: 15.01 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5001,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5001,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.069e-05/3.292e-05, allocations: 4.953 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002851/0.002884, allocations: 1.599 MB / 0.9525 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.004065, allocations: 0.5654 MB / 0.9531 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.004126, allocations: 3.938 kB / 0.9531 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.635e-05/0.004163, allocations: 11.86 kB / 0.9531 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.004468, allocations: 35.78 kB / 0.9531 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.004652, allocations: 55.75 kB / 0.9532 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.004819, allocations: 123.5 kB / 0.9533 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.004928, allocations: 12.22 kB / 0.9533 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.005131, allocations: 75.88 kB / 0.9534 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.005255, allocations: 43.86 kB / 0.9534 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.285e-05/0.005287, allocations: 12 kB / 0.9534 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.622e-05/0.005354, allocations: 19.94 kB / 0.9535 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.281e-05/0.005396, allocations: 31.83 kB / 0.9535 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.644e-05/0.005463, allocations: 43.91 kB / 0.9535 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.005663, allocations: 119.6 kB / 0.9537 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.005666, allocations: 0 / 0.9537 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.665e-06/0.005668, allocations: 4 kB / 0.9537 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.768e-06/0.005672, allocations: 0 / 0.9537 GB, free: 8.812 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007711/0.006443, allocations: 333.9 kB / 0.954 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.006493, allocations: 12.03 kB / 0.954 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/0.006672, allocations: 16.89 kB / 0.954 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.006818, allocations: 125.7 kB / 0.9541 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.006841, allocations: 8.375 kB / 0.9541 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.006861, allocations: 8.375 kB / 0.9541 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.007055, allocations: 94.14 kB / 0.9542 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.007064, allocations: 192 / 0.9542 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.007084, allocations: 8.359 kB / 0.9542 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.00709, allocations: 7.875 kB / 0.9542 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.007209, allocations: 51.97 kB / 0.9543 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006168/0.007826, allocations: 288.4 kB / 0.9546 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003452/0.008171, allocations: 122.7 kB / 0.9547 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.008274, allocations: 44.83 kB / 0.9547 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.008301, allocations: 4 kB / 0.9547 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003112/0.008612, allocations: 111.2 kB / 0.9548 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 2.074e-06/0.008614, allocations: 0 / 0.9548 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.0004523/0.009067, allocations: 165.1 kB / 0.955 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.969e-05/0.009136, allocations: 55.41 kB / 0.955 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.009287, allocations: 121.8 kB / 0.9552 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.009322, allocations: 37.7 kB / 0.9552 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.136e-05/0.009404, allocations: 92.14 kB / 0.9553 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.649e-05/0.00946, allocations: 39.64 kB / 0.9553 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.868e-05/0.009529, allocations: 37.86 kB / 0.9554 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.009701, allocations: 318.8 kB / 0.9557 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.969e-05/0.009791, allocations: 39.89 kB / 0.9557 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.555e-05/0.009867, allocations: 35.98 kB / 0.9557 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.01002, allocations: 87.12 kB / 0.9558 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.01003, allocations: 7.938 kB / 0.9558 GB, free: 6.422 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000259/0.01029, allocations: 135.6 kB / 0.956 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.01031, allocations: 11.98 kB / 0.956 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.01032, allocations: 7.938 kB / 0.956 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.01033, allocations: 3.938 kB / 0.956 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.01047, allocations: 23.92 kB / 0.956 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.01047, allocations: 0 / 0.956 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.0106, allocations: 19.89 kB / 0.956 GB, free: 6.219 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.01061, allocations: 3.984 kB / 0.956 GB, free: 6.215 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (eqnTim.k,$PRE.eqnTim.k,eqnTim.tNext,$PRE.eqnTim.tNext,locTim.k,$PRE.locTim.k,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 (18): * Single equations (assignments): 18 * 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.0001312/0.01074, allocations: 125.8 kB / 0.9561 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.01076, allocations: 7.953 kB / 0.9562 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003217/0.01109, allocations: 162 kB / 0.9563 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.01109, allocations: 0 / 0.9563 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.0111, allocations: 3.984 kB / 0.9563 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.0111, allocations: 0 / 0.9563 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005806/0.01168, allocations: 395.6 kB / 0.9567 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01168, allocations: 0 / 0.9567 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.329e-05/0.01177, allocations: 23.92 kB / 0.9567 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.01178, allocations: 0 / 0.9567 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.01179, allocations: 4 kB / 0.9567 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-05/0.0118, allocations: 4 kB / 0.9567 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.01181, allocations: 4 kB / 0.9567 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000318/0.01212, allocations: 253.3 kB / 0.957 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.105e-05/0.01214, allocations: 7.953 kB / 0.957 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.01217, allocations: 4 kB / 0.957 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.01232, allocations: 7.984 kB / 0.957 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.01238, allocations: 15.98 kB / 0.957 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.01239, allocations: 7.984 kB / 0.957 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.403e-05/0.01247, allocations: 99.27 kB / 0.9571 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01247, allocations: 0 / 0.9571 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002597/0.01273, allocations: 24 kB / 0.9571 GB, free: 5.023 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,locTim.tNext,locTim.k,eqnTim.tNext,eqnTim.k) * Number of discrete states: 4 (locTim.tNext,eqnTim.tNext,eqnTim.k,locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001528/0.01288, allocations: 107.2 kB / 0.9572 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002458/0.01312, allocations: 103.7 kB / 0.9573 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01313, allocations: 0 / 0.9573 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.01323, allocations: 51.92 kB / 0.9574 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.01348, allocations: 10.34 kB / 0.9574 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000508/0.01399, allocations: 229.3 kB / 0.9576 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.307e-05/0.01409, allocations: 97.22 kB / 0.9577 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.465e-05/0.01414, allocations: 4.984 kB / 0.9577 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.287e-05/0.0142, allocations: 20.48 kB / 0.9577 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of SimCode: time 4.31e-07/0.0142, allocations: 3.938 kB / 0.9577 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of Templates: time 0.004368/0.01857, allocations: 1.203 MB / 0.9589 GB, free: 3.16 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 400] 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/jenkins/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: 7.878101956099272]