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.001367/0.001367, allocations: 82.48 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001803/0.001803, allocations: 168 kB / 22.46 MB, free: 5.359 MB / 14.72 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.479/1.479, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.86/2.86, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.222e-06/1.222e-06, allocations: 0 / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.51e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002562/0.002587, allocations: 1.599 MB / 0.983 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.003609, allocations: 0.5687 MB / 0.9836 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.709e-05/0.003656, allocations: 0 / 0.9836 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.543e-05/0.003692, allocations: 7.922 kB / 0.9836 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002829/0.003974, allocations: 41.08 kB / 0.9836 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.004151, allocations: 51.81 kB / 0.9836 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.004303, allocations: 123.5 kB / 0.9838 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.004406, allocations: 16.22 kB / 0.9838 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.004611, allocations: 75.75 kB / 0.9839 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.004731, allocations: 47.92 kB / 0.9839 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.004762, allocations: 19.81 kB / 0.9839 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.859e-05/0.00482, allocations: 20 kB / 0.9839 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.904e-05/0.004859, allocations: 23.97 kB / 0.984 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.301e-05/0.004922, allocations: 35.89 kB / 0.984 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.005125, allocations: 119.6 kB / 0.9841 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.005127, allocations: 0 / 0.9841 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.71e-07/0.005128, allocations: 0 / 0.9841 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.005132, allocations: 0 / 0.9841 GB, free: 9.176 MB / 0.9356 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.0007552/0.005887, allocations: 353.9 kB / 0.9844 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.005925, allocations: 8.031 kB / 0.9845 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/0.006107, allocations: 16.89 kB / 0.9845 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.006242, allocations: 129.7 kB / 0.9846 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.006264, allocations: 8.312 kB / 0.9846 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.006286, allocations: 12.36 kB / 0.9846 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.006479, allocations: 92.55 kB / 0.9847 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.006488, allocations: 192 / 0.9847 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.006501, allocations: 384 / 0.9847 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.006513, allocations: 7.938 kB / 0.9847 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.006637, allocations: 55.88 kB / 0.9848 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006221/0.007259, allocations: 304.3 kB / 0.9851 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.007572, allocations: 110.7 kB / 0.9852 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.986e-05/0.007662, allocations: 48.84 kB / 0.9852 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.007678, allocations: 0 / 0.9852 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002486/0.007927, allocations: 103.3 kB / 0.9853 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.007928, allocations: 0 / 0.9853 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0003617/0.00829, allocations: 164.7 kB / 0.9855 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.008345, allocations: 63.34 kB / 0.9855 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.008451, allocations: 125.8 kB / 0.9856 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.008478, allocations: 33.69 kB / 0.9857 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.055e-05/0.008539, allocations: 92.09 kB / 0.9858 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.629e-05/0.008585, allocations: 47.56 kB / 0.9858 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/0.008645, allocations: 33.7 kB / 0.9858 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.008783, allocations: 322.8 kB / 0.9861 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.331e-05/0.008866, allocations: 35.98 kB / 0.9862 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.171e-05/0.008938, allocations: 35.98 kB / 0.9862 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.009088, allocations: 79.19 kB / 0.9863 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.009092, allocations: 3.938 kB / 0.9863 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002337/0.009326, allocations: 141.6 kB / 0.9864 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.00934, allocations: 4 kB / 0.9864 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.009344, allocations: 0 / 0.9864 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.009357, allocations: 0 / 0.9864 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.009487, allocations: 27.92 kB / 0.9865 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.009497, allocations: 7.984 kB / 0.9865 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.009607, allocations: 7.953 kB / 0.9865 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.009624, allocations: 8 kB / 0.9865 GB, free: 6.574 MB / 0.9356 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.0001052/0.009729, allocations: 121.8 kB / 0.9866 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.00975, allocations: 11.95 kB / 0.9866 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002968/0.01005, allocations: 164 kB / 0.9868 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01005, allocations: 0 / 0.9868 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.01005, allocations: 4 kB / 0.9868 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.01006, allocations: 3.984 kB / 0.9868 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005287/0.01059, allocations: 393.9 kB / 0.9871 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.01059, allocations: 4 kB / 0.9872 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.92e-05/0.01068, allocations: 19.98 kB / 0.9872 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.01068, allocations: 0 / 0.9872 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.0107, allocations: 8 kB / 0.9872 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.0107, allocations: 0 / 0.9872 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.0107, allocations: 0 / 0.9872 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002934/0.01099, allocations: 249.8 kB / 0.9874 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.409e-05/0.01102, allocations: 23.83 kB / 0.9874 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.01105, allocations: 8 kB / 0.9874 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.01119, allocations: 7.984 kB / 0.9875 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.01124, allocations: 11.98 kB / 0.9875 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.01126, allocations: 7.984 kB / 0.9875 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.965e-05/0.01133, allocations: 95.28 kB / 0.9876 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.01133, allocations: 0 / 0.9876 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002683/0.01159, allocations: 35.92 kB / 0.9876 GB, free: 5.363 MB / 0.9356 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.0001363/0.01173, allocations: 107.2 kB / 0.9877 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002287/0.01196, allocations: 103.7 kB / 0.9878 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.01196, allocations: 4 kB / 0.9878 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.791e-05/0.01206, allocations: 47.92 kB / 0.9879 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.0123, allocations: 10.66 kB / 0.9879 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004479/0.01274, allocations: 221.3 kB / 0.9881 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.708e-05/0.01284, allocations: 85.45 kB / 0.9882 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.631e-05/0.0129, allocations: 16.91 kB / 0.9882 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.052e-05/0.01296, allocations: 20.48 kB / 0.9882 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/0.01296, allocations: 0 / 0.9882 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of Templates: time 0.004215/0.01717, allocations: 1.198 MB / 0.9894 GB, free: 3.512 MB / 0.9356 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.028723817318678]