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.001002/0.001002, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001008/0.001008, allocations: 161 kB / 24.16 MB, free: 336 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 1.035/1.035, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.94/1.94, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0.875 kB / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.578e-05/1.745e-05, allocations: 2.938 kB / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002166/0.002183, allocations: 1.661 MB / 0.7616 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007338/0.002917, allocations: 0.5975 MB / 0.7622 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.139e-05/0.002959, allocations: 0 / 0.7622 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.866e-05/0.002987, allocations: 9.047 kB / 0.7622 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.003203, allocations: 40.19 kB / 0.7623 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001221/0.003325, allocations: 45.66 kB / 0.7623 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.003429, allocations: 126.8 kB / 0.7624 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.305e-05/0.003512, allocations: 20.16 kB / 0.7625 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.003649, allocations: 72.5 kB / 0.7625 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.691e-05/0.003736, allocations: 53.55 kB / 0.7626 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.003753, allocations: 8 kB / 0.7626 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.456e-05/0.003798, allocations: 20 kB / 0.7626 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.296e-05/0.003821, allocations: 27.89 kB / 0.7626 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.485e-05/0.003855, allocations: 36.59 kB / 0.7627 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.003965, allocations: 83.7 kB / 0.7627 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.003966, allocations: 0.5312 kB / 0.7627 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.322e-06/0.003967, allocations: 4 kB / 0.7628 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.003971, allocations: 2.062 kB / 0.7628 GB, free: 3.84 MB / 0.7136 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.0004237/0.004394, allocations: 308.5 kB / 0.763 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/0.004423, allocations: 8.781 kB / 0.7631 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.004541, allocations: 29.62 kB / 0.7631 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.746e-05/0.004618, allocations: 117.7 kB / 0.7632 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.004632, allocations: 13.17 kB / 0.7632 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.004645, allocations: 4.375 kB / 0.7632 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.771e-05/0.004743, allocations: 85.09 kB / 0.7633 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/0.004748, allocations: 192 / 0.7633 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.004757, allocations: 4.375 kB / 0.7633 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.004762, allocations: 7.875 kB / 0.7633 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.997e-05/0.004802, allocations: 29.31 kB / 0.7633 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002981/0.0051, allocations: 221.5 kB / 0.7635 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.005248, allocations: 86.45 kB / 0.7636 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.968e-05/0.005277, allocations: 28.84 kB / 0.7637 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.005289, allocations: 1.25 kB / 0.7637 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.918e-05/0.005388, allocations: 94.64 kB / 0.7637 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 8.72e-07/0.005389, allocations: 0 / 0.7637 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0001298/0.005519, allocations: 94.84 kB / 0.7638 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.005554, allocations: 55.41 kB / 0.7639 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.246e-05/0.005616, allocations: 126.7 kB / 0.764 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.00563, allocations: 32.61 kB / 0.764 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.005e-05/0.00566, allocations: 92.09 kB / 0.7641 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.00569, allocations: 43.67 kB / 0.7642 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.005723, allocations: 29.69 kB / 0.7642 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.894e-05/0.005792, allocations: 322.8 kB / 0.7645 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.188e-05/0.005814, allocations: 16.14 kB / 0.7645 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.03e-05/0.005834, allocations: 15.91 kB / 0.7645 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.486e-05/0.005889, allocations: 54.67 kB / 0.7646 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.005891, allocations: 2.75 kB / 0.7646 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 8.217e-05/0.005973, allocations: 95.25 kB / 0.7647 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.005983, allocations: 8 kB / 0.7647 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.005987, allocations: 3.938 kB / 0.7647 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.786e-06/0.005996, allocations: 0 / 0.7647 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.017e-05/0.006066, allocations: 23.98 kB / 0.7647 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.006069, allocations: 3.984 kB / 0.7647 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.219e-05/0.006111, allocations: 20.64 kB / 0.7647 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.006119, allocations: 4 kB / 0.7647 GB, free: 1.66 MB / 0.7136 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 5.656e-05/0.006176, allocations: 118.9 kB / 0.7649 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.00619, allocations: 20.7 kB / 0.7649 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.006293, allocations: 95.55 kB / 0.765 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.006295, allocations: 4.562 kB / 0.765 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.006297, allocations: 3.375 kB / 0.765 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.006299, allocations: 0 / 0.765 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.00651, allocations: 274.5 kB / 0.7652 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.006511, allocations: 0 / 0.7652 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.293e-05/0.006554, allocations: 19.98 kB / 0.7653 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.006555, allocations: 0 / 0.7653 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.006562, allocations: 4 kB / 0.7653 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.006564, allocations: 4 kB / 0.7653 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.006565, allocations: 0 / 0.7653 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.006667, allocations: 204.5 kB / 0.7655 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.718e-06/0.006676, allocations: 7.953 kB / 0.7655 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.006694, allocations: 4 kB / 0.7655 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.765e-05/0.006741, allocations: 8 kB / 0.7655 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.006773, allocations: 11.97 kB / 0.7655 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.00678, allocations: 7.984 kB / 0.7655 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.672e-05/0.006796, allocations: 21.23 kB / 0.7655 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006796, allocations: 0 / 0.7655 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001291/0.006925, allocations: 25.75 kB / 0.7655 GB, free: 0.7969 MB / 0.7136 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.094e-05/0.006996, allocations: 96.28 kB / 0.7656 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.896e-05/0.007085, allocations: 71.69 kB / 0.7657 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.007087, allocations: 0.5 kB / 0.7657 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.647e-05/0.007134, allocations: 43.28 kB / 0.7657 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001096/0.007243, allocations: 25.75 kB / 0.7658 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005108/0.007754, allocations: 220.6 kB / 0.766 GB, free: 320 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.356e-05/0.007788, allocations: 71.34 kB / 0.766 GB, free: 228 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.801e-05/0.007826, allocations: 16.91 kB / 0.7661 GB, free: 212 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.292e-05/0.007879, allocations: 63.38 kB / 0.7661 GB, free: 148 kB / 0.7136 GB Notification: Performance of SimCode: time 5.01e-07/0.007879, allocations: 0 / 0.7661 GB, free: 148 kB / 0.7136 GB Notification: Performance of Templates: time 0.002556/0.01043, allocations: 1.3 MB / 0.7674 GB, free: 14.9 MB / 0.7292 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 240] 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","",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.146457363851368]