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.001301/0.001301, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.00154/0.00154, allocations: 220.5 kB / 23 MB, free: 4.918 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.758/2.758, allocations: 476 MB / 0.7707 GB, free: 4.742 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: 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: 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.00213/0.00213, allocations: 66.08 kB / 1.118 GB, free: 41.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3464, allocations: 170 MB / 1.284 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003172/0.3496, allocations: 1.596 MB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.3508, allocations: 0.5666 MB / 1.286 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.122e-05/0.3509, allocations: 0 / 1.286 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.803e-05/0.3509, allocations: 3.938 kB / 1.286 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002656/0.3512, allocations: 43.69 kB / 1.286 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.3513, allocations: 47.88 kB / 1.286 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.3515, allocations: 103.7 kB / 1.286 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.3516, allocations: 23.8 kB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.3518, allocations: 51.84 kB / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.3519, allocations: 43.83 kB / 1.286 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.3519, allocations: 8 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.42e-05/0.352, allocations: 23.98 kB / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.611e-05/0.352, allocations: 23.91 kB / 1.286 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.04e-05/0.3521, allocations: 39.8 kB / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.3523, allocations: 107.5 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3523, allocations: 0 / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3523, allocations: 0 / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.3523, allocations: 0 / 1.286 GB, free: 9.336 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.0007736/0.3531, allocations: 330 kB / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3531, allocations: 8.031 kB / 1.287 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.3533, allocations: 20.88 kB / 1.287 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.3534, allocations: 130.4 kB / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.3534, allocations: 4.375 kB / 1.287 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.3535, allocations: 16.3 kB / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.3537, allocations: 81.97 kB / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3537, allocations: 0 / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.3537, allocations: 11.98 kB / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.3537, allocations: 3.984 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.3538, allocations: 43.97 kB / 1.287 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000523/0.3543, allocations: 272.3 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.3546, allocations: 98.72 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.432e-05/0.3547, allocations: 44.78 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.3547, allocations: 3.938 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002559/0.355, allocations: 103.3 kB / 1.288 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.355, allocations: 0 / 1.288 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0003652/0.3554, allocations: 145.5 kB / 1.288 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.3554, allocations: 51.41 kB / 1.288 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.3555, allocations: 133.7 kB / 1.288 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.3556, allocations: 29.7 kB / 1.288 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.028e-05/0.3556, allocations: 100.3 kB / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.3557, allocations: 31.89 kB / 1.288 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.446e-05/0.3557, allocations: 29.7 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3559, allocations: 326.8 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.114e-05/0.356, allocations: 23.98 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.264e-05/0.356, allocations: 33.98 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.3561, allocations: 56.86 kB / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.3561, allocations: 0 / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002019/0.3563, allocations: 111.1 kB / 1.289 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3564, allocations: 4 kB / 1.289 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3564, allocations: 7.984 kB / 1.289 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.3564, allocations: 4 kB / 1.289 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.3565, allocations: 23.92 kB / 1.289 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.3565, allocations: 4 kB / 1.289 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.3566, allocations: 11.89 kB / 1.289 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.3566, allocations: 0 / 1.289 GB, free: 6.906 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.0001189/0.3567, allocations: 129.8 kB / 1.289 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.3568, allocations: 7.953 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.357, allocations: 142 kB / 1.289 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.357, allocations: 4 kB / 1.289 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3571, allocations: 4 kB / 1.289 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.3571, allocations: 0 / 1.289 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.3572, allocations: 145.2 kB / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3572, allocations: 0 / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.471e-05/0.3573, allocations: 15.98 kB / 1.289 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3573, allocations: 0 / 1.289 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.3573, allocations: 8 kB / 1.289 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3573, allocations: 0 / 1.289 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3573, allocations: 0 / 1.289 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.3576, allocations: 180.1 kB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.3576, allocations: 11.88 kB / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.3577, allocations: 8 kB / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.3578, allocations: 15.92 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.3578, allocations: 7.984 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.3579, allocations: 4 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.247e-05/0.3579, allocations: 99.27 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3579, allocations: 0 / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002174/0.3582, allocations: 27.95 kB / 1.289 GB, free: 6.047 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.000131/0.3583, allocations: 103.2 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.3585, allocations: 87.84 kB / 1.29 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.3585, allocations: 0 / 1.29 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.3586, allocations: 51.92 kB / 1.29 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.3588, allocations: 4 kB / 1.29 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005002/0.3593, allocations: 228.4 kB / 1.29 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.783e-05/0.3594, allocations: 83.19 kB / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.529e-05/0.3594, allocations: 19.42 kB / 1.29 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.3594, allocations: 4 kB / 1.29 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of Templates: time 0.003295/0.3627, allocations: 1.313 MB / 1.291 GB, free: 4.113 MB / 0.9825 GB " [Timeout remaining time 299] 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/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: 10.913368004839867]