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.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.001383/0.001382, allocations: 110.4 kB / 17.08 MB, free: 5.82 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.001412/0.001412, allocations: 193.2 kB / 20.03 MB, free: 2.949 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.528/1.528, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.177/3.177, allocations: 489.3 MB / 0.7687 GB, free: 3.766 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.001997/0.001997, allocations: 67.89 kB / 1.103 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8982/0.9002, allocations: 163.8 MB / 1.263 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002597/0.9028, allocations: 1.594 MB / 1.264 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000849/0.9037, allocations: 0.5433 MB / 1.265 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.438e-05/0.9037, allocations: 1.781 kB / 1.265 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.416e-05/0.9038, allocations: 9.797 kB / 1.265 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000256/0.9041, allocations: 49.5 kB / 1.265 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000117/0.9042, allocations: 38.17 kB / 1.265 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000133/0.9043, allocations: 109.9 kB / 1.265 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.9044, allocations: 27.23 kB / 1.265 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.9046, allocations: 42.27 kB / 1.265 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.9047, allocations: 49.81 kB / 1.265 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.9047, allocations: 11.94 kB / 1.265 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.231e-05/0.9047, allocations: 8.156 kB / 1.265 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.216e-05/0.9048, allocations: 28.39 kB / 1.265 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.02e-05/0.9048, allocations: 50.56 kB / 1.265 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.905, allocations: 88.47 kB / 1.265 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.905, allocations: 8.844 kB / 1.265 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.905, allocations: 0 / 1.265 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.905, allocations: 0 / 1.265 GB, free: 6.25 MB / 0.9981 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.0006185/0.9056, allocations: 399.7 kB / 1.266 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.9057, allocations: 10.41 kB / 1.266 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.9057, allocations: 12.89 kB / 1.266 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.734e-05/0.9058, allocations: 177.6 kB / 1.266 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.9059, allocations: 16.03 kB / 1.266 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.9059, allocations: 5.094 kB / 1.266 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.9061, allocations: 88.2 kB / 1.266 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.9061, allocations: 4 kB / 1.266 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.9061, allocations: 6.031 kB / 1.266 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.9061, allocations: 1.688 kB / 1.266 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.9062, allocations: 44.69 kB / 1.266 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004447/0.9067, allocations: 353.1 kB / 1.266 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.907, allocations: 106 kB / 1.266 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.348e-05/0.9071, allocations: 45.5 kB / 1.266 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.9071, allocations: 1.625 kB / 1.266 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002063/0.9073, allocations: 95.48 kB / 1.266 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.9073, allocations: 0 / 1.266 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0003356/0.9076, allocations: 149.4 kB / 1.267 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.9077, allocations: 53.59 kB / 1.267 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.102e-05/0.9078, allocations: 132.2 kB / 1.267 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.9078, allocations: 26.95 kB / 1.267 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.017e-05/0.9078, allocations: 93.78 kB / 1.267 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.9079, allocations: 35.17 kB / 1.267 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.9079, allocations: 24.42 kB / 1.267 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.699e-05/0.908, allocations: 324.1 kB / 1.267 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.656e-05/0.908, allocations: 29.55 kB / 1.267 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.804e-05/0.9081, allocations: 27.67 kB / 1.267 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.9082, allocations: 70.52 kB / 1.267 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.9082, allocations: 3.938 kB / 1.267 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001866/0.9084, allocations: 115.1 kB / 1.268 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.9084, allocations: 5.547 kB / 1.268 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.9085, allocations: 0.6875 kB / 1.268 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.9085, allocations: 1.266 kB / 1.268 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.9086, allocations: 17.95 kB / 1.268 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.9086, allocations: 0.75 kB / 1.268 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.9087, allocations: 11.06 kB / 1.268 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.9087, allocations: 8.031 kB / 1.268 GB, free: 4.234 MB / 0.9981 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 6.294e-05/0.9088, allocations: 119.7 kB / 1.268 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/0.9088, allocations: 7.828 kB / 1.268 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.9091, allocations: 148.5 kB / 1.268 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.9091, allocations: 1.688 kB / 1.268 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.9091, allocations: 0 / 1.268 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.9091, allocations: 9.75 kB / 1.268 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.9093, allocations: 212.5 kB / 1.268 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.9093, allocations: 0.7812 kB / 1.268 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.622e-05/0.9094, allocations: 27.67 kB / 1.268 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.9094, allocations: 0.7188 kB / 1.268 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.9094, allocations: 2.531 kB / 1.268 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.9094, allocations: 4.938 kB / 1.268 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9094, allocations: 0.6094 kB / 1.268 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.9097, allocations: 162.1 kB / 1.268 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.871e-05/0.9097, allocations: 85.8 kB / 1.268 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.9097, allocations: 5.828 kB / 1.268 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.9098, allocations: 11.33 kB / 1.268 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.9099, allocations: 17.81 kB / 1.268 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.9099, allocations: 8.422 kB / 1.268 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.972e-05/0.91, allocations: 99.5 kB / 1.268 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.91, allocations: 0 / 1.268 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002125/0.9102, allocations: 23.53 kB / 1.268 GB, free: 3.477 MB / 0.9981 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 9.745e-05/0.9103, allocations: 108 kB / 1.269 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.9105, allocations: 87.27 kB / 1.269 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.9105, allocations: 4.625 kB / 1.269 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.9106, allocations: 50.02 kB / 1.269 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.9108, allocations: 9.75 kB / 1.269 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000402/0.9112, allocations: 242.8 kB / 1.269 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.9113, allocations: 0.6988 MB / 1.27 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.735e-05/0.9114, allocations: 20.27 kB / 1.27 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.9114, allocations: 0 / 1.27 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of Templates: time 0.003182/0.9146, allocations: 1.272 MB / 1.271 GB, free: 2.336 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.558732649078593]