Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00159/0.00159, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001892/0.001892, allocations: 163 kB / 23.01 MB, free: 4.602 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.436/1.436, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.05/3.05, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002157/0.002157, allocations: 63.91 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9444/0.9465, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002764/0.9493, allocations: 1.612 MB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0009973/0.9503, allocations: 0.5571 MB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.667e-05/0.9504, allocations: 1.375 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.618e-05/0.9504, allocations: 5.906 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002802/0.9507, allocations: 44.55 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.9509, allocations: 45.03 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.951, allocations: 110.6 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.9512, allocations: 23.94 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.9513, allocations: 46.22 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.9515, allocations: 48.3 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.9515, allocations: 8.688 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.52e-05/0.9516, allocations: 17.25 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.75e-05/0.9516, allocations: 24.38 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.87e-05/0.9517, allocations: 38.39 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.9519, allocations: 103.5 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.9519, allocations: 0 / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9519, allocations: 1.312 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.9519, allocations: 4.609 kB / 1.189 GB, free: 14.5 MB / 1.076 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.000708/0.9526, allocations: 323.3 kB / 1.19 GB, free: 14.21 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.9526, allocations: 10.25 kB / 1.19 GB, free: 14.21 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.9528, allocations: 15.64 kB / 1.19 GB, free: 14.21 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.9529, allocations: 129.1 kB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.953, allocations: 7.719 kB / 1.19 GB, free: 14.06 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.953, allocations: 8.828 kB / 1.19 GB, free: 14.06 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.9532, allocations: 95.83 kB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.9532, allocations: 0 / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.9532, allocations: 5.641 kB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.9532, allocations: 2.094 kB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.9533, allocations: 44.44 kB / 1.19 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004435/0.9538, allocations: 270.6 kB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.9541, allocations: 105.9 kB / 1.19 GB, free: 13.69 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.961e-05/0.9542, allocations: 39.17 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.9542, allocations: 9.125 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002522/0.9544, allocations: 96.66 kB / 1.19 GB, free: 13.6 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.492e-06/0.9544, allocations: 0 / 1.19 GB, free: 13.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.000375/0.9548, allocations: 149.5 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.9549, allocations: 57.36 kB / 1.191 GB, free: 13.46 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.708e-05/0.955, allocations: 124.7 kB / 1.191 GB, free: 13.35 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.955, allocations: 31.7 kB / 1.191 GB, free: 13.31 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.128e-05/0.955, allocations: 94.47 kB / 1.191 GB, free: 13.22 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.44e-05/0.9551, allocations: 34.72 kB / 1.191 GB, free: 13.19 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.361e-05/0.9551, allocations: 32.41 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.773e-05/0.9552, allocations: 327.8 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.736e-05/0.9553, allocations: 26.05 kB / 1.191 GB, free: 12.83 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-05/0.9553, allocations: 31.84 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.9554, allocations: 59.06 kB / 1.191 GB, free: 12.79 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9554, allocations: 0 / 1.191 GB, free: 12.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001881/0.9556, allocations: 115.3 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.9556, allocations: 5.688 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.9556, allocations: 0 / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.9557, allocations: 1.844 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.9558, allocations: 21.08 kB / 1.191 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.9558, allocations: 1.219 kB / 1.191 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.9559, allocations: 11.48 kB / 1.191 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.9559, allocations: 3.125 kB / 1.191 GB, free: 12.72 MB / 1.076 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 6.931e-05/0.956, allocations: 124.7 kB / 1.192 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.956, allocations: 11.3 kB / 1.192 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/0.9563, allocations: 148 kB / 1.192 GB, free: 12.51 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.9563, allocations: 1.156 kB / 1.192 GB, free: 12.51 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.9563, allocations: 5.219 kB / 1.192 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.9563, allocations: 1.5 kB / 1.192 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.9564, allocations: 151.5 kB / 1.192 GB, free: 12.35 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.9564, allocations: 6.125 kB / 1.192 GB, free: 12.35 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.273e-05/0.9565, allocations: 14.52 kB / 1.192 GB, free: 12.35 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.9565, allocations: 1.531 kB / 1.192 GB, free: 12.35 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.9565, allocations: 6.594 kB / 1.192 GB, free: 12.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.9565, allocations: 3.938 kB / 1.192 GB, free: 12.34 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.9565, allocations: 1.438 kB / 1.192 GB, free: 12.34 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.9567, allocations: 163.1 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.979e-05/0.9567, allocations: 9.172 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.9568, allocations: 2.109 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.9569, allocations: 10.03 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/0.9569, allocations: 15.5 kB / 1.192 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.957, allocations: 8.672 kB / 1.192 GB, free: 12.22 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.851e-05/0.957, allocations: 94.06 kB / 1.192 GB, free: 12.14 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.957, allocations: 1.594 kB / 1.192 GB, free: 12.14 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002191/0.9572, allocations: 24.09 kB / 1.192 GB, free: 12.14 MB / 1.076 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.0001064/0.9573, allocations: 103.2 kB / 1.192 GB, free: 12.04 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002067/0.9575, allocations: 86.27 kB / 1.192 GB, free: 12.02 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9575, allocations: 1.156 kB / 1.192 GB, free: 12.02 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.27e-05/0.9576, allocations: 46.83 kB / 1.192 GB, free: 12 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.9578, allocations: 11.25 kB / 1.192 GB, free: 11.99 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.9582, allocations: 215.5 kB / 1.193 GB, free: 11.83 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.149e-05/0.9583, allocations: 81.05 kB / 1.193 GB, free: 11.76 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.7e-05/0.9583, allocations: 16.62 kB / 1.193 GB, free: 11.75 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.9584, allocations: 16.33 kB / 1.193 GB, free: 11.74 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.9584, allocations: 1.125 kB / 1.193 GB, free: 11.74 MB / 1.076 GB Notification: Performance of Templates: time 0.00413/0.9625, allocations: 1.08 MB / 1.194 GB, free: 11.59 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.979943744954653]