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.001384/0.001384, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.001583/0.001583, allocations: 165.3 kB / 22.76 MB, free: 1.652 MB / 18.57 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.519/1.519, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.207/3.207, allocations: 429.6 MB / 0.673 GB, free: 3.918 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.818e-05/2.983e-05, allocations: 5.625 kB / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003339/0.003369, allocations: 1.602 MB / 0.8792 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.004587, allocations: 0.5706 MB / 0.8797 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.102e-05/0.004648, allocations: 1.125 kB / 0.8797 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.306e-05/0.004701, allocations: 7.875 kB / 0.8797 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.005013, allocations: 40.84 kB / 0.8798 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.005194, allocations: 52.94 kB / 0.8798 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.005379, allocations: 127.5 kB / 0.8799 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.005503, allocations: 11.64 kB / 0.88 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002918/0.005795, allocations: 83.8 kB / 0.88 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.00591, allocations: 39.88 kB / 0.8801 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.005943, allocations: 8 kB / 0.8801 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.443e-05/0.006007, allocations: 27.92 kB / 0.8801 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.603e-05/0.006043, allocations: 23.91 kB / 0.8801 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.992e-05/0.006113, allocations: 39.89 kB / 0.8802 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.006321, allocations: 115.6 kB / 0.8803 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.006324, allocations: 0 / 0.8803 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.72e-07/0.006325, allocations: 0.5938 kB / 0.8803 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.00633, allocations: 0 / 0.8803 GB, free: 3.77 MB / 0.8386 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.0008069/0.007137, allocations: 337 kB / 0.8806 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.007179, allocations: 15.97 kB / 0.8806 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002131/0.007392, allocations: 28.81 kB / 0.8806 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.007578, allocations: 131.1 kB / 0.8808 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.007598, allocations: 4.375 kB / 0.8808 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.007623, allocations: 12.38 kB / 0.8808 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.007826, allocations: 86.2 kB / 0.8809 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.00784, allocations: 8.188 kB / 0.8809 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.007854, allocations: 384 / 0.8809 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.007862, allocations: 3.938 kB / 0.8809 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.007996, allocations: 55.91 kB / 0.8809 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007041/0.0087, allocations: 284.4 kB / 0.8812 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004496/0.009149, allocations: 118.5 kB / 0.8813 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.00925, allocations: 48.97 kB / 0.8814 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.009271, allocations: 4 kB / 0.8814 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002807/0.009551, allocations: 111.3 kB / 0.8815 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.009553, allocations: 0 / 0.8815 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0004213/0.009974, allocations: 172.5 kB / 0.8816 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.01004, allocations: 59.41 kB / 0.8817 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.01017, allocations: 117.8 kB / 0.8818 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.0102, allocations: 33.7 kB / 0.8818 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.253e-05/0.01027, allocations: 96.06 kB / 0.8819 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.57e-05/0.01033, allocations: 43.64 kB / 0.882 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.966e-05/0.0104, allocations: 33.7 kB / 0.882 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.01059, allocations: 322.8 kB / 0.8823 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.814e-05/0.01068, allocations: 40.05 kB / 0.8824 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.821e-05/0.01076, allocations: 42.33 kB / 0.8824 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.01092, allocations: 84.78 kB / 0.8825 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.01093, allocations: 3.938 kB / 0.8825 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002563/0.01118, allocations: 140 kB / 0.8826 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.0112, allocations: 4 kB / 0.8826 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.0112, allocations: 0 / 0.8826 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.01122, allocations: 4 kB / 0.8826 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.01136, allocations: 27.92 kB / 0.8826 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.01136, allocations: 0 / 0.8826 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.01149, allocations: 15.88 kB / 0.8827 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.0115, allocations: 8 kB / 0.8827 GB, free: 1.16 MB / 0.8386 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.0001326/0.01163, allocations: 125.8 kB / 0.8828 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.01167, allocations: 19.94 kB / 0.8828 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003487/0.01202, allocations: 156.2 kB / 0.883 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.01203, allocations: 11.94 kB / 0.883 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.01204, allocations: 0 / 0.883 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.01204, allocations: 0 / 0.883 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000728/0.01277, allocations: 394 kB / 0.8833 GB, free: 424 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.01277, allocations: 4 kB / 0.8833 GB, free: 420 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.294e-05/0.01286, allocations: 19.92 kB / 0.8834 GB, free: 400 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.01287, allocations: 4 kB / 0.8834 GB, free: 396 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.01288, allocations: 0 / 0.8834 GB, free: 396 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.01288, allocations: 0 / 0.8834 GB, free: 396 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01288, allocations: 0 / 0.8834 GB, free: 396 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/0.01322, allocations: 257.5 kB / 0.8836 GB, free: 124 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.889e-05/0.01325, allocations: 19.86 kB / 0.8836 GB, free: 104 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.01329, allocations: 8 kB / 0.8836 GB, free: 96 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.01343, allocations: 7.984 kB / 0.8836 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.01348, allocations: 11.98 kB / 0.8837 GB, free: 76 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.0135, allocations: 11.98 kB / 0.8837 GB, free: 64 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001335/0.01363, allocations: 103.6 kB / 0.8838 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.9e-07/0.01363, allocations: 0 / 0.8838 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004226/0.01405, allocations: 31.98 kB / 0.8838 GB, free: 15.93 MB / 0.8542 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.0003171/0.01437, allocations: 99.19 kB / 0.8839 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002719/0.01464, allocations: 107.7 kB / 0.884 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.01465, allocations: 4 kB / 0.884 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.01476, allocations: 47.92 kB / 0.884 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.01502, allocations: 19.94 kB / 0.8841 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005469/0.01556, allocations: 215.1 kB / 0.8843 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.01567, allocations: 89.3 kB / 0.8844 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.567e-05/0.01572, allocations: 8.984 kB / 0.8844 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.401e-05/0.01579, allocations: 24.48 kB / 0.8844 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of SimCode: time 4.71e-07/0.01579, allocations: 0 / 0.8844 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of Templates: time 0.004525/0.02031, allocations: 1.22 MB / 0.8856 GB, free: 14.07 MB / 0.8542 GB " [Timeout remaining time 300] 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 -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/jenkins/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.232086096075363]