Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001285/0.001285, allocations: 118.9 kB / 17.13 MB, free: 6.027 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.001405/0.001405, allocations: 208.7 kB / 20.1 MB, free: 3.074 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: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.932/2.932, allocations: 0.49 GB / 0.7922 GB, free: 1.355 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002091/0.002091, allocations: 63.91 kB / 1.15 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9308/0.9329, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002314/0.9352, allocations: 1.63 MB / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008312/0.936, allocations: 0.6121 MB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.72e-05/0.9361, allocations: 3.938 kB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.899e-05/0.9361, allocations: 6.406 kB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002367/0.9364, allocations: 46.02 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.9365, allocations: 46.47 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.9366, allocations: 109 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.9367, allocations: 22.88 kB / 1.324 GB, free: 23.37 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.9368, allocations: 53.25 kB / 1.324 GB, free: 23.35 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.969e-05/0.9369, allocations: 49.08 kB / 1.324 GB, free: 23.33 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.937, allocations: 8.562 kB / 1.324 GB, free: 23.33 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.435e-05/0.937, allocations: 26.55 kB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.162e-05/0.937, allocations: 22.19 kB / 1.325 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.155e-05/0.9371, allocations: 43.88 kB / 1.325 GB, free: 23.28 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.9372, allocations: 101.2 kB / 1.325 GB, free: 23.24 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.9372, allocations: 3.938 kB / 1.325 GB, free: 23.24 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9373, allocations: 4 kB / 1.325 GB, free: 23.23 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.9373, allocations: 0 / 1.325 GB, free: 23.23 MB / 1.061 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.0006577/0.9379, allocations: 406.1 kB / 1.325 GB, free: 22.85 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.9379, allocations: 12.05 kB / 1.325 GB, free: 22.84 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.9381, allocations: 19.11 kB / 1.325 GB, free: 22.84 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.9382, allocations: 189 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.9382, allocations: 2.969 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.9383, allocations: 9.531 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.9384, allocations: 89.73 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.9384, allocations: 0 / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.9384, allocations: 2.469 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.9384, allocations: 0 / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.9385, allocations: 50.14 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.939, allocations: 342 kB / 1.326 GB, free: 22.24 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.9392, allocations: 92.67 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.046e-05/0.9393, allocations: 43.27 kB / 1.326 GB, free: 22.17 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.9393, allocations: 3.984 kB / 1.326 GB, free: 22.17 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/0.9395, allocations: 100.9 kB / 1.326 GB, free: 22.1 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.9395, allocations: 0 / 1.326 GB, free: 22.1 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0003119/0.9398, allocations: 143 kB / 1.326 GB, free: 22.03 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.9398, allocations: 65.27 kB / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.456e-05/0.9399, allocations: 119.3 kB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.9399, allocations: 29.64 kB / 1.326 GB, free: 21.82 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.94, allocations: 102.2 kB / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.94, allocations: 32.22 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/0.94, allocations: 26.92 kB / 1.326 GB, free: 21.67 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.832e-05/0.9401, allocations: 329.2 kB / 1.327 GB, free: 21.35 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.963e-05/0.9401, allocations: 25.62 kB / 1.327 GB, free: 21.34 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.857e-05/0.9402, allocations: 26.47 kB / 1.327 GB, free: 21.33 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.9403, allocations: 66.94 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.9403, allocations: 2.906 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001591/0.9404, allocations: 116.8 kB / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.9405, allocations: 5.688 kB / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.9405, allocations: 0 / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.9405, allocations: 0 / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.9406, allocations: 21.78 kB / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.9406, allocations: 2.938 kB / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.9407, allocations: 18.16 kB / 1.327 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.9407, allocations: 3.094 kB / 1.327 GB, free: 21.21 MB / 1.061 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.089e-05/0.9408, allocations: 115.8 kB / 1.327 GB, free: 21.1 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.9408, allocations: 6.859 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.941, allocations: 152.7 kB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.941, allocations: 4 kB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.941, allocations: 2.781 kB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.941, allocations: 3.938 kB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.9412, allocations: 211.8 kB / 1.328 GB, free: 20.79 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.9412, allocations: 3.984 kB / 1.328 GB, free: 20.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.677e-05/0.9412, allocations: 17.66 kB / 1.328 GB, free: 20.78 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.9412, allocations: 6.109 kB / 1.328 GB, free: 20.78 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.9412, allocations: 0 / 1.328 GB, free: 20.78 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.9413, allocations: 0 / 1.328 GB, free: 20.78 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.9413, allocations: 0 / 1.328 GB, free: 20.78 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.9415, allocations: 179.9 kB / 1.328 GB, free: 20.66 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.942e-05/0.9415, allocations: 83.56 kB / 1.328 GB, free: 20.56 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.9415, allocations: 1.969 kB / 1.328 GB, free: 20.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.9416, allocations: 11.25 kB / 1.328 GB, free: 20.56 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.9417, allocations: 9.625 kB / 1.328 GB, free: 20.56 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.9417, allocations: 10.97 kB / 1.328 GB, free: 20.55 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.771e-05/0.9417, allocations: 99.64 kB / 1.328 GB, free: 20.47 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9417, allocations: 0 / 1.328 GB, free: 20.47 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000223/0.942, allocations: 26.69 kB / 1.328 GB, free: 20.46 MB / 1.061 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.0001157/0.9421, allocations: 107.6 kB / 1.328 GB, free: 20.37 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000211/0.9423, allocations: 82.41 kB / 1.328 GB, free: 20.35 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.9423, allocations: 0 / 1.328 GB, free: 20.35 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.361e-05/0.9424, allocations: 49.25 kB / 1.328 GB, free: 20.33 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.9425, allocations: 11.09 kB / 1.328 GB, free: 20.32 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.943, allocations: 237.9 kB / 1.328 GB, free: 20.13 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.9431, allocations: 0.7046 MB / 1.329 GB, free: 19.43 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.896e-05/0.9431, allocations: 17.7 kB / 1.329 GB, free: 19.42 MB / 1.061 GB Notification: Performance of SimCode: time 2.4e-07/0.9431, allocations: 0 / 1.329 GB, free: 19.42 MB / 1.061 GB Notification: Performance of Templates: time 0.003265/0.9464, allocations: 1.281 MB / 1.33 GB, free: 19.31 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.283343097995385]