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.001781/0.001781, allocations: 80.22 kB / 19.18 MB, free: 2.516 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.002189/0.002189, allocations: 159 kB / 22.46 MB, free: 5.375 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.489/1.489, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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.916/2.916, allocations: 389 MB / 0.633 GB, free: 0.9805 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.332e-06/1.332e-06, allocations: 0 / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.596e-05, allocations: 6.281 kB / 1 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002953/0.002979, allocations: 1.605 MB / 1.002 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.004155, allocations: 0.5609 MB / 1.002 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.567e-05/0.00422, allocations: 0 / 1.002 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.169e-05/0.004262, allocations: 11.86 kB / 1.002 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002779/0.00454, allocations: 35.77 kB / 1.002 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.004728, allocations: 55.81 kB / 1.002 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.004913, allocations: 123.5 kB / 1.002 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.005024, allocations: 12.22 kB / 1.002 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.005242, allocations: 83.69 kB / 1.003 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.005358, allocations: 47.86 kB / 1.003 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.005386, allocations: 12 kB / 1.003 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.969e-05/0.005455, allocations: 12 kB / 1.003 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.931e-05/0.005505, allocations: 31.89 kB / 1.003 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.808e-05/0.005563, allocations: 27.92 kB / 1.003 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.005768, allocations: 119.6 kB / 1.003 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.00577, allocations: 4 kB / 1.003 GB, free: 4.527 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.222e-06/0.005772, allocations: 0 / 1.003 GB, free: 4.527 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.647e-06/0.00578, allocations: 4 kB / 1.003 GB, free: 4.523 MB / 0.9512 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.0007647/0.006545, allocations: 341.9 kB / 1.003 GB, free: 4.16 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.006579, allocations: 12.03 kB / 1.003 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.00676, allocations: 16.89 kB / 1.003 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.00692, allocations: 133.6 kB / 1.003 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.006937, allocations: 4.375 kB / 1.003 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.006964, allocations: 12.38 kB / 1.003 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.007159, allocations: 94.11 kB / 1.003 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.007167, allocations: 192 / 1.003 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.007183, allocations: 4.359 kB / 1.003 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.00719, allocations: 3.938 kB / 1.003 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.007313, allocations: 55.95 kB / 1.003 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006346/0.007948, allocations: 288.3 kB / 1.004 GB, free: 3.488 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.008274, allocations: 130.6 kB / 1.004 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.008381, allocations: 44.84 kB / 1.004 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.008402, allocations: 7.938 kB / 1.004 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000226/0.008628, allocations: 107.3 kB / 1.004 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.00863, allocations: 0 / 1.004 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14): time 0.0003832/0.009013, allocations: 163.7 kB / 1.004 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.009062, allocations: 55.41 kB / 1.004 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.009196, allocations: 129.8 kB / 1.004 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.009225, allocations: 33.7 kB / 1.004 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.093e-05/0.009286, allocations: 96.09 kB / 1.004 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/0.009335, allocations: 43.62 kB / 1.005 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-05/0.009408, allocations: 33.7 kB / 1.005 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.009559, allocations: 318.8 kB / 1.005 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.521e-05/0.009644, allocations: 35.98 kB / 1.005 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.588e-05/0.00972, allocations: 37.86 kB / 1.005 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.00988, allocations: 80.84 kB / 1.005 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.009884, allocations: 3.938 kB / 1.005 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002527/0.01014, allocations: 143.5 kB / 1.005 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.01015, allocations: 7.984 kB / 1.005 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.01016, allocations: 4 kB / 1.005 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.01017, allocations: 4 kB / 1.005 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.0103, allocations: 19.98 kB / 1.005 GB, free: 1.938 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.0103, allocations: 0 / 1.005 GB, free: 1.938 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.01042, allocations: 4 kB / 1.005 GB, free: 1.934 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.01043, allocations: 11.98 kB / 1.005 GB, free: 1.922 MB / 0.9512 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.0001206/0.01055, allocations: 126.2 kB / 1.005 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.01058, allocations: 7.953 kB / 1.005 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003186/0.01089, allocations: 164 kB / 1.005 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.0109, allocations: 8 kB / 1.005 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.0109, allocations: 3.984 kB / 1.005 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.01091, allocations: 0 / 1.005 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005659/0.01147, allocations: 393.9 kB / 1.006 GB, free: 1.184 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.01148, allocations: 3.938 kB / 1.006 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.123e-05/0.01157, allocations: 19.98 kB / 1.006 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01157, allocations: 0 / 1.006 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.01158, allocations: 0 / 1.006 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01158, allocations: 0 / 1.006 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.01158, allocations: 7.938 kB / 1.006 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.01191, allocations: 257 kB / 1.006 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 2.015e-05/0.01193, allocations: 11.95 kB / 1.006 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.01196, allocations: 4 kB / 1.006 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.01211, allocations: 11.98 kB / 1.006 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.01216, allocations: 11.98 kB / 1.006 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.01218, allocations: 7.984 kB / 1.006 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.689e-05/0.01225, allocations: 95.27 kB / 1.006 GB, free: 0.7461 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01225, allocations: 4 kB / 1.006 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00027/0.01252, allocations: 27.94 kB / 1.006 GB, free: 0.7148 MB / 0.9512 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.000141/0.01267, allocations: 111.2 kB / 1.006 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002446/0.01291, allocations: 103.8 kB / 1.007 GB, free: 0.4922 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01291, allocations: 0 / 1.007 GB, free: 0.4922 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.01303, allocations: 49.8 kB / 1.007 GB, free: 456 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.01327, allocations: 8 kB / 1.007 GB, free: 448 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000487/0.01376, allocations: 221.3 kB / 1.007 GB, free: 200 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.485e-05/0.01384, allocations: 85.44 kB / 1.007 GB, free: 92 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.593e-05/0.0139, allocations: 16.97 kB / 1.007 GB, free: 76 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.01396, allocations: 28.42 kB / 1.007 GB, free: 48 kB / 0.9512 GB Notification: Performance of SimCode: time 3.01e-07/0.01396, allocations: 0 / 1.007 GB, free: 48 kB / 0.9512 GB Notification: Performance of Templates: time 0.004435/0.01839, allocations: 1.194 MB / 1.008 GB, free: 14.87 MB / 0.9669 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.529173325747252]