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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002462/0.002462, allocations: 190.3 kB / 22.1 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.271/3.271, allocations: 495.8 MB / 0.783 GB, free: 33.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002076/0.002076, allocations: 69.27 kB / 1.137 GB, free: 33.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4019, allocations: 173.6 MB / 1.307 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003109/0.405, allocations: 1.627 MB / 1.308 GB, free: 108 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.406, allocations: 0.5493 MB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.326e-05/0.4061, allocations: 0 / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.736e-05/0.4061, allocations: 7.875 kB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.4064, allocations: 43.77 kB / 1.309 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000123/0.4065, allocations: 39.88 kB / 1.309 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000154/0.4067, allocations: 107.6 kB / 1.309 GB, free: 15.36 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.4068, allocations: 27.91 kB / 1.309 GB, free: 15.33 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.4069, allocations: 39.86 kB / 1.309 GB, free: 15.29 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.407, allocations: 55.75 kB / 1.309 GB, free: 15.23 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.4071, allocations: 12 kB / 1.309 GB, free: 15.22 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.287e-05/0.4071, allocations: 8 kB / 1.309 GB, free: 15.21 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.948e-05/0.4071, allocations: 23.97 kB / 1.309 GB, free: 15.19 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.098e-05/0.4072, allocations: 43.8 kB / 1.309 GB, free: 15.15 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.4074, allocations: 95.59 kB / 1.309 GB, free: 15.05 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4074, allocations: 0 / 1.309 GB, free: 15.05 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.186e-06/0.4074, allocations: 4 kB / 1.309 GB, free: 15.05 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.4074, allocations: 0 / 1.309 GB, free: 15.05 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007662/0.4081, allocations: 326 kB / 1.31 GB, free: 14.7 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.4082, allocations: 8.922 kB / 1.31 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.675e-05/0.4082, allocations: 12.88 kB / 1.31 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.4084, allocations: 126.4 kB / 1.31 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.4084, allocations: 8.375 kB / 1.31 GB, free: 14.53 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.4084, allocations: 4.375 kB / 1.31 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.4086, allocations: 85.95 kB / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.4086, allocations: 0 / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.4086, allocations: 8 kB / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.4086, allocations: 4 kB / 1.31 GB, free: 14.42 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.4088, allocations: 51.84 kB / 1.31 GB, free: 14.37 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005649/0.4093, allocations: 311.8 kB / 1.31 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/0.4097, allocations: 102.6 kB / 1.31 GB, free: 13.91 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.361e-05/0.4098, allocations: 40.84 kB / 1.31 GB, free: 13.87 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.4098, allocations: 0 / 1.31 GB, free: 13.87 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002475/0.41, allocations: 111.2 kB / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.41, allocations: 3.938 kB / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.0003713/0.4104, allocations: 145.5 kB / 1.311 GB, free: 13.6 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.4104, allocations: 55.41 kB / 1.311 GB, free: 13.53 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.4106, allocations: 126.2 kB / 1.311 GB, free: 13.4 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.4106, allocations: 29.7 kB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.644e-05/0.4107, allocations: 100.4 kB / 1.311 GB, free: 13.26 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/0.4107, allocations: 31.7 kB / 1.311 GB, free: 13.23 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.957e-05/0.4108, allocations: 29.64 kB / 1.311 GB, free: 13.19 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.4109, allocations: 322.8 kB / 1.311 GB, free: 12.87 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.264e-05/0.411, allocations: 31.98 kB / 1.311 GB, free: 12.84 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.057e-05/0.4111, allocations: 31.98 kB / 1.311 GB, free: 12.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.4112, allocations: 68.78 kB / 1.311 GB, free: 12.73 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4112, allocations: 4 kB / 1.311 GB, free: 12.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002014/0.4114, allocations: 113 kB / 1.312 GB, free: 12.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.4114, allocations: 4 kB / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.4114, allocations: 0 / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.4115, allocations: 4 kB / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.4116, allocations: 15.98 kB / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.4116, allocations: 0 / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.4117, allocations: 15.94 kB / 1.312 GB, free: 12.58 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.4117, allocations: 3.984 kB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,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 (13): * Single equations (assignments): 13 * 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.0001235/0.4118, allocations: 129.7 kB / 1.312 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.4118, allocations: 3.953 kB / 1.312 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002985/0.4121, allocations: 146 kB / 1.312 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.4121, allocations: 0 / 1.312 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.4122, allocations: 0 / 1.312 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.4122, allocations: 7.922 kB / 1.312 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.4124, allocations: 188.6 kB / 1.312 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4124, allocations: 0 / 1.312 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.882e-05/0.4125, allocations: 19.94 kB / 1.312 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4125, allocations: 4 kB / 1.312 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.4125, allocations: 3.984 kB / 1.312 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4125, allocations: 0 / 1.312 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4125, allocations: 4 kB / 1.312 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.4128, allocations: 165 kB / 1.312 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.959e-05/0.4128, allocations: 7.953 kB / 1.312 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.4128, allocations: 0 / 1.312 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.4129, allocations: 15.98 kB / 1.312 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.413, allocations: 11.97 kB / 1.312 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.413, allocations: 15.88 kB / 1.312 GB, free: 11.79 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.476e-05/0.4131, allocations: 99.2 kB / 1.312 GB, free: 11.69 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4131, allocations: 0 / 1.312 GB, free: 11.69 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002124/0.4133, allocations: 27.94 kB / 1.312 GB, free: 11.66 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001377/0.4134, allocations: 101.5 kB / 1.313 GB, free: 11.55 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.4136, allocations: 79.91 kB / 1.313 GB, free: 11.48 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4136, allocations: 4 kB / 1.313 GB, free: 11.47 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.4138, allocations: 51.59 kB / 1.313 GB, free: 11.43 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.4139, allocations: 5.125 kB / 1.313 GB, free: 11.42 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004952/0.4144, allocations: 214.4 kB / 1.313 GB, free: 11.19 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.4148, allocations: 0.7002 MB / 1.314 GB, free: 10.46 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.927e-05/0.4148, allocations: 12.48 kB / 1.314 GB, free: 10.45 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.715e-05/0.4149, allocations: 19.42 kB / 1.314 GB, free: 10.43 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/0.4149, allocations: 0 / 1.314 GB, free: 10.43 MB / 1.014 GB Notification: Performance of Templates: time 0.004116/0.419, allocations: 1.159 MB / 1.315 GB, free: 9.273 MB / 1.014 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: 9.205542407929897]