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.0009731/0.0009731, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001119/0.001119, allocations: 173 kB / 23.49 MB, free: 1.055 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.9469/0.9469, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.13/2.13, allocations: 429.5 MB / 0.6736 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.783e-06/1.783e-06, allocations: 5.031 kB / 0.8782 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.479e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003011/0.003035, allocations: 1.657 MB / 0.8798 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.004067, allocations: 0.583 MB / 0.8804 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.315e-05/0.004131, allocations: 0 / 0.8804 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.61e-05/0.004167, allocations: 8.578 kB / 0.8804 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.004444, allocations: 44.8 kB / 0.8804 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.004611, allocations: 52.89 kB / 0.8805 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.004762, allocations: 115.6 kB / 0.8806 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.004884, allocations: 21.17 kB / 0.8806 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002114/0.005096, allocations: 79.8 kB / 0.8807 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.00521, allocations: 39.89 kB / 0.8807 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.022e-05/0.00524, allocations: 13.11 kB / 0.8807 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.233e-05/0.005302, allocations: 16 kB / 0.8808 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.234e-05/0.005334, allocations: 27.91 kB / 0.8808 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.978e-05/0.005394, allocations: 32.94 kB / 0.8808 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.005576, allocations: 99.62 kB / 0.8809 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.005578, allocations: 1.094 kB / 0.8809 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.91e-07/0.005579, allocations: 0 / 0.8809 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.005584, allocations: 0 / 0.8809 GB, free: 3.867 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.0006635/0.006247, allocations: 438.5 kB / 0.8813 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.006295, allocations: 12.03 kB / 0.8813 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.006501, allocations: 25.38 kB / 0.8814 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.006642, allocations: 124.5 kB / 0.8815 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.006664, allocations: 9.844 kB / 0.8815 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.006686, allocations: 12.38 kB / 0.8815 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.006863, allocations: 86.89 kB / 0.8816 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.006872, allocations: 4.719 kB / 0.8816 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.006885, allocations: 384 / 0.8816 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.006895, allocations: 5.031 kB / 0.8816 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.888e-05/0.006984, allocations: 31.97 kB / 0.8816 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005766/0.007561, allocations: 352.9 kB / 0.882 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.007842, allocations: 111.1 kB / 0.8821 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.57e-05/0.007917, allocations: 43.66 kB / 0.8821 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.007935, allocations: 11.36 kB / 0.8821 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001754/0.00811, allocations: 100.9 kB / 0.8822 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.008112, allocations: 0 / 0.8822 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0003278/0.00844, allocations: 145 kB / 0.8824 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.008491, allocations: 55.41 kB / 0.8824 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.008618, allocations: 181.9 kB / 0.8826 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.00864, allocations: 29.7 kB / 0.8826 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.006e-05/0.00871, allocations: 146.8 kB / 0.8828 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.697e-05/0.008757, allocations: 36.84 kB / 0.8828 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.946e-05/0.008817, allocations: 43.36 kB / 0.8828 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.008974, allocations: 0.4923 MB / 0.8833 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.834e-05/0.009032, allocations: 23.98 kB / 0.8833 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.576e-05/0.009088, allocations: 30.33 kB / 0.8834 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.009209, allocations: 63.67 kB / 0.8834 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.009213, allocations: 3.938 kB / 0.8834 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002052/0.009418, allocations: 123.8 kB / 0.8836 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.009435, allocations: 4 kB / 0.8836 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.00944, allocations: 0 / 0.8836 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.009453, allocations: 0 / 0.8836 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.009579, allocations: 35.97 kB / 0.8836 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.009585, allocations: 0 / 0.8836 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.688e-05/0.009652, allocations: 11.89 kB / 0.8836 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.009664, allocations: 12 kB / 0.8836 GB, free: 0.9141 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.0001004/0.009765, allocations: 173 kB / 0.8838 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.00979, allocations: 11.95 kB / 0.8838 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.01003, allocations: 136.4 kB / 0.8839 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.01004, allocations: 4 kB / 0.8839 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.01004, allocations: 0 / 0.8839 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.01005, allocations: 3.984 kB / 0.8839 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004506/0.0105, allocations: 425.1 kB / 0.8843 GB, free: 120 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.0105, allocations: 4 kB / 0.8843 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.9e-05/0.01058, allocations: 20 kB / 0.8844 GB, free: 96 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.01058, allocations: 7.922 kB / 0.8844 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.01059, allocations: 0 / 0.8844 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.01059, allocations: 0 / 0.8844 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.0106, allocations: 4 kB / 0.8844 GB, free: 84 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.01086, allocations: 291.6 kB / 0.8846 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.761e-05/0.01088, allocations: 11.94 kB / 0.8847 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.0109, allocations: 0 / 0.8847 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.346e-05/0.011, allocations: 8 kB / 0.8847 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/0.01105, allocations: 11.97 kB / 0.8847 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.01106, allocations: 12 kB / 0.8847 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.902e-05/0.01113, allocations: 143.5 kB / 0.8848 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01113, allocations: 0 / 0.8848 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002733/0.01141, allocations: 27.95 kB / 0.8848 GB, free: 15.57 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.0001086/0.01152, allocations: 107.2 kB / 0.885 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001942/0.01171, allocations: 89.98 kB / 0.885 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01171, allocations: 0 / 0.885 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.893e-05/0.0118, allocations: 63.58 kB / 0.8851 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.01206, allocations: 22.38 kB / 0.8851 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008821/0.01294, allocations: 234.4 kB / 0.8853 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.829e-05/0.01299, allocations: 63.34 kB / 0.8854 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.693e-05/0.01304, allocations: 12.97 kB / 0.8854 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.256e-05/0.0131, allocations: 20.5 kB / 0.8854 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of SimCode: time 8.42e-07/0.0131, allocations: 0 / 0.8854 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.002621/0.01572, allocations: 1.217 MB / 0.8866 GB, free: 13.7 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.319187034852803]