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.001212/0.001212, allocations: 93.06 kB / 19.65 MB, free: 272 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.001532/0.001532, allocations: 165 kB / 23.02 MB, free: 1.547 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 0.9915/0.9915, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.099/2.099, allocations: 429.5 MB / 0.6733 GB, free: 4.039 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.663e-06/1.663e-06, allocations: 0 / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/3.015e-05, allocations: 5.828 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002482/0.002512, allocations: 1.658 MB / 0.8798 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009216/0.003434, allocations: 0.59 MB / 0.8804 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.226e-05/0.003506, allocations: 0 / 0.8804 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.843e-05/0.003555, allocations: 9.016 kB / 0.8804 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003298/0.003885, allocations: 40.72 kB / 0.8804 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.004069, allocations: 44.88 kB / 0.8805 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.004198, allocations: 127.5 kB / 0.8806 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.004308, allocations: 16.16 kB / 0.8806 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.004503, allocations: 72.53 kB / 0.8807 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.904e-05/0.004602, allocations: 55.3 kB / 0.8807 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.004624, allocations: 8 kB / 0.8807 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.775e-05/0.004682, allocations: 16 kB / 0.8808 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/0.004707, allocations: 31.89 kB / 0.8808 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.237e-05/0.00476, allocations: 31.91 kB / 0.8808 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.004912, allocations: 87.64 kB / 0.8809 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.004915, allocations: 4 kB / 0.8809 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.92e-07/0.004916, allocations: 0 / 0.8809 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.004923, allocations: 3.984 kB / 0.8809 GB, free: 3.523 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.0006796/0.005603, allocations: 437.8 kB / 0.8813 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.005651, allocations: 12.02 kB / 0.8813 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.005838, allocations: 27.05 kB / 0.8814 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.005975, allocations: 136.3 kB / 0.8815 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.005997, allocations: 12.36 kB / 0.8815 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.006016, allocations: 4.375 kB / 0.8815 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.006165, allocations: 91.88 kB / 0.8816 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.006177, allocations: 192 / 0.8816 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.00619, allocations: 8.359 kB / 0.8816 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.006199, allocations: 4.688 kB / 0.8816 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.507e-05/0.006264, allocations: 34.31 kB / 0.8816 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005003/0.006765, allocations: 351.4 kB / 0.882 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.006995, allocations: 115.1 kB / 0.8821 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.231e-05/0.007047, allocations: 35.67 kB / 0.8821 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.007066, allocations: 0 / 0.8821 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.007219, allocations: 107.7 kB / 0.8822 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.903e-06/0.007221, allocations: 0 / 0.8822 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0002683/0.007489, allocations: 141.6 kB / 0.8824 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.007527, allocations: 55.34 kB / 0.8824 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.26e-05/0.00762, allocations: 185.9 kB / 0.8826 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.007641, allocations: 33.7 kB / 0.8826 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.898e-05/0.0077, allocations: 142.8 kB / 0.8828 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.007736, allocations: 35.7 kB / 0.8828 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/0.007784, allocations: 39.36 kB / 0.8828 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.007906, allocations: 0.4922 MB / 0.8833 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.604e-05/0.007952, allocations: 23.98 kB / 0.8833 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.922e-05/0.007991, allocations: 27.97 kB / 0.8834 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.954e-05/0.008081, allocations: 69.7 kB / 0.8834 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.008085, allocations: 3.938 kB / 0.8834 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001492/0.008234, allocations: 121.6 kB / 0.8835 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.008251, allocations: 12 kB / 0.8836 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.008256, allocations: 0 / 0.8836 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.008278, allocations: 0 / 0.8836 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.627e-05/0.008374, allocations: 23.98 kB / 0.8836 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.008383, allocations: 7.984 kB / 0.8836 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.175e-05/0.008435, allocations: 15.89 kB / 0.8836 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.008443, allocations: 0 / 0.8836 GB, free: 0.5625 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 8.954e-05/0.008533, allocations: 176.5 kB / 0.8838 GB, free: 388 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.008551, allocations: 11.94 kB / 0.8838 GB, free: 376 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.00876, allocations: 140.3 kB / 0.8839 GB, free: 228 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.008762, allocations: 0 / 0.8839 GB, free: 228 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.008766, allocations: 0 / 0.8839 GB, free: 228 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.00877, allocations: 4 kB / 0.8839 GB, free: 224 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/0.00914, allocations: 433.1 kB / 0.8843 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.009143, allocations: 0 / 0.8843 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.1e-05/0.009194, allocations: 12 kB / 0.8843 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.009197, allocations: 4 kB / 0.8843 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.009208, allocations: 7.984 kB / 0.8843 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.009211, allocations: 0 / 0.8843 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.009212, allocations: 4 kB / 0.8844 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.009402, allocations: 294.9 kB / 0.8846 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.562e-05/0.009418, allocations: 11.95 kB / 0.8846 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.00944, allocations: 3.984 kB / 0.8846 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.995e-05/0.0095, allocations: 8 kB / 0.8847 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.009549, allocations: 15.95 kB / 0.8847 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.009556, allocations: 4 kB / 0.8847 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.087e-05/0.009607, allocations: 143.1 kB / 0.8848 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.009607, allocations: 0 / 0.8848 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001751/0.009782, allocations: 27.95 kB / 0.8848 GB, free: 15.21 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.0001008/0.009883, allocations: 115.2 kB / 0.8849 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001555/0.01004, allocations: 87.48 kB / 0.885 GB, free: 15 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01004, allocations: 0 / 0.885 GB, free: 15 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.229e-05/0.0101, allocations: 51.61 kB / 0.8851 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.01029, allocations: 20.61 kB / 0.8851 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007489/0.01103, allocations: 232.8 kB / 0.8853 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.604e-05/0.01108, allocations: 71.34 kB / 0.8854 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.776e-05/0.01113, allocations: 8.984 kB / 0.8854 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.799e-05/0.01119, allocations: 20.48 kB / 0.8854 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of SimCode: time 9.52e-07/0.01119, allocations: 0 / 0.8854 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of Templates: time 0.00312/0.01431, allocations: 1.225 MB / 0.8866 GB, free: 13.34 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.584609617013484]