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.001197/0.001197, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001553/0.001553, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 0.9719/0.9719, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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 2.109/2.109, allocations: 429.5 MB / 0.6743 GB, free: 3.914 MB / 0.6355 GB " [Timeout remaining time 177] 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.152e-06/1.152e-06, allocations: 0 / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.934e-05, allocations: 4.984 kB / 0.8794 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002346/0.002365, allocations: 1.654 MB / 0.881 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007568/0.003122, allocations: 0.5829 MB / 0.8816 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.873e-05/0.003171, allocations: 0 / 0.8816 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.851e-05/0.003199, allocations: 13.2 kB / 0.8816 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.003409, allocations: 41.05 kB / 0.8816 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001225/0.003531, allocations: 51.81 kB / 0.8817 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.003633, allocations: 123.5 kB / 0.8818 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.695e-05/0.00372, allocations: 13.81 kB / 0.8818 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.003863, allocations: 79.81 kB / 0.8819 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.672e-05/0.00395, allocations: 43.86 kB / 0.8819 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.003969, allocations: 13.53 kB / 0.8819 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.661e-05/0.004016, allocations: 16 kB / 0.882 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.569e-05/0.004042, allocations: 27.89 kB / 0.882 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.829e-05/0.00408, allocations: 35.91 kB / 0.882 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.004199, allocations: 90.69 kB / 0.8821 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.004202, allocations: 0 / 0.8821 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.92e-07/0.004203, allocations: 0 / 0.8821 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.004207, allocations: 0 / 0.8821 GB, free: 3.258 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.0006324/0.004839, allocations: 444.2 kB / 0.8825 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.004874, allocations: 20.02 kB / 0.8826 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.004993, allocations: 20.83 kB / 0.8826 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.584e-05/0.005079, allocations: 132.4 kB / 0.8827 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.005093, allocations: 4.375 kB / 0.8827 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.005105, allocations: 16.25 kB / 0.8827 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.005209, allocations: 85.25 kB / 0.8828 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.005216, allocations: 192 / 0.8828 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.005227, allocations: 8.359 kB / 0.8828 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.005232, allocations: 3.938 kB / 0.8828 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.126e-05/0.005274, allocations: 27.97 kB / 0.8828 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.005641, allocations: 328.1 kB / 0.8832 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.005812, allocations: 103 kB / 0.8833 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.328e-05/0.005845, allocations: 31.8 kB / 0.8833 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.005859, allocations: 7.938 kB / 0.8833 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001117/0.005971, allocations: 100.9 kB / 0.8834 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.005972, allocations: 0 / 0.8834 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0001945/0.006166, allocations: 117.6 kB / 0.8835 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.006207, allocations: 63.39 kB / 0.8836 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.856e-05/0.006295, allocations: 181.8 kB / 0.8837 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.00631, allocations: 33.7 kB / 0.8838 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.00636, allocations: 138.9 kB / 0.8839 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.006393, allocations: 47.62 kB / 0.8839 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.006434, allocations: 39.34 kB / 0.884 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.006553, allocations: 0.4923 MB / 0.8845 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.714e-05/0.00658, allocations: 15.98 kB / 0.8845 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.409e-05/0.006604, allocations: 19.98 kB / 0.8845 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.019e-05/0.006664, allocations: 54 kB / 0.8845 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.006666, allocations: 3.938 kB / 0.8845 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001108/0.006777, allocations: 109.6 kB / 0.8847 GB, free: 464 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.00679, allocations: 14.33 kB / 0.8847 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.006793, allocations: 4 kB / 0.8847 GB, free: 448 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.325e-06/0.006802, allocations: 3.938 kB / 0.8847 GB, free: 444 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.933e-05/0.006881, allocations: 31.98 kB / 0.8847 GB, free: 412 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.006884, allocations: 0 / 0.8847 GB, free: 412 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.64e-05/0.00693, allocations: 11.89 kB / 0.8847 GB, free: 400 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.006939, allocations: 4 kB / 0.8847 GB, free: 396 kB / 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 6.908e-05/0.007008, allocations: 172.5 kB / 0.8849 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.007025, allocations: 15.89 kB / 0.8849 GB, free: 196 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.007168, allocations: 126.1 kB / 0.885 GB, free: 60 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.007171, allocations: 4 kB / 0.885 GB, free: 56 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.007173, allocations: 0 / 0.885 GB, free: 56 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.007177, allocations: 3.984 kB / 0.885 GB, free: 52 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/0.007482, allocations: 400.1 kB / 0.8854 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.007484, allocations: 0 / 0.8854 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.391e-05/0.007527, allocations: 16 kB / 0.8854 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.007529, allocations: 0 / 0.8854 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.007537, allocations: 4 kB / 0.8854 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.007539, allocations: 3.984 kB / 0.8854 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.00754, allocations: 4 kB / 0.8854 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.007691, allocations: 287.6 kB / 0.8857 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.233e-05/0.007703, allocations: 11.89 kB / 0.8857 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.007721, allocations: 4 kB / 0.8857 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.405e-05/0.007775, allocations: 7.984 kB / 0.8857 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.007807, allocations: 15.97 kB / 0.8857 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.007815, allocations: 4 kB / 0.8858 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.864e-05/0.007854, allocations: 131.2 kB / 0.8859 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007854, allocations: 0 / 0.8859 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001577/0.008011, allocations: 31.95 kB / 0.8859 GB, free: 15.1 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 7.536e-05/0.008087, allocations: 103.2 kB / 0.886 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.008201, allocations: 85.33 kB / 0.8861 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.008202, allocations: 3.938 kB / 0.8861 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.91e-05/0.008251, allocations: 47.61 kB / 0.8861 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.008407, allocations: 17.05 kB / 0.8862 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005562/0.008963, allocations: 230.4 kB / 0.8864 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.729e-05/0.009001, allocations: 71.34 kB / 0.8864 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.643e-05/0.009047, allocations: 12.97 kB / 0.8865 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.484e-05/0.009112, allocations: 82.19 kB / 0.8865 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of SimCode: time 8.41e-07/0.009113, allocations: 0 / 0.8865 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of Templates: time 0.002718/0.01183, allocations: 1.342 MB / 0.8878 GB, free: 13.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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.361750761978328]