Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007667/0.007667, allocations: 98.64 kB / 15.73 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 196 kB / 16.68 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.604/2.604, allocations: 437 MB / 0.7105 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 68.11 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9892/0.9906, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.00284/0.9935, allocations: 1.604 MB / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009424/0.9944, allocations: 0.5454 MB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.872e-05/0.9945, allocations: 0 / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.67e-05/0.9945, allocations: 11.86 kB / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000278/0.9948, allocations: 39.75 kB / 1.169 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.995, allocations: 43.89 kB / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.9951, allocations: 111.6 kB / 1.169 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.9953, allocations: 19.98 kB / 1.169 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.9954, allocations: 47.84 kB / 1.169 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.9955, allocations: 51.81 kB / 1.169 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.9955, allocations: 8 kB / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.299e-05/0.9956, allocations: 12 kB / 1.169 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.555e-05/0.9956, allocations: 19.92 kB / 1.169 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.626e-05/0.9957, allocations: 43.78 kB / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.9958, allocations: 95 kB / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.9958, allocations: 0 / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.475e-06/0.9958, allocations: 0 / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.9959, allocations: 0 / 1.169 GB, free: 1.164 MB / 0.8887 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.0007502/0.9966, allocations: 408.2 kB / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.9967, allocations: 12.03 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.9967, allocations: 8.891 kB / 1.17 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.9969, allocations: 188.2 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.9969, allocations: 8.312 kB / 1.17 GB, free: 480 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.9969, allocations: 4.375 kB / 1.17 GB, free: 476 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.9971, allocations: 88.06 kB / 1.17 GB, free: 384 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.9971, allocations: 4 kB / 1.17 GB, free: 380 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.9971, allocations: 8 kB / 1.17 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.9972, allocations: 0 / 1.17 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.9973, allocations: 43.97 kB / 1.17 GB, free: 328 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005416/0.9978, allocations: 352.5 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.9981, allocations: 98.73 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.383e-05/0.9982, allocations: 44.84 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.9982, allocations: 11.92 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002046/0.9984, allocations: 95.3 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.9984, allocations: 0 / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0003304/0.9988, allocations: 141.6 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.9988, allocations: 59.34 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.9989, allocations: 125.8 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.999, allocations: 29.7 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.292e-05/0.999, allocations: 100.3 kB / 1.171 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/0.9991, allocations: 39.83 kB / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.9992, allocations: 25.7 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.9993, allocations: 322.8 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.047e-05/0.9994, allocations: 27.98 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.262e-05/0.9994, allocations: 27.98 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.9995, allocations: 65.97 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.9996, allocations: 4 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001857/0.9997, allocations: 110.9 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.9998, allocations: 8 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.9998, allocations: 3.938 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.9998, allocations: 0 / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.9999, allocations: 15.98 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.9999, allocations: 4 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/1, allocations: 15.92 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/1, allocations: 0 / 1.172 GB, free: 14.49 MB / 0.9044 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 9.867e-05/1, allocations: 121.8 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/1, allocations: 7.953 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/1, allocations: 155.3 kB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/1, allocations: 0 / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1, allocations: 0 / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/1.001, allocations: 7.922 kB / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/1.001, allocations: 221.5 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.001, allocations: 0 / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.259e-05/1.001, allocations: 19.98 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/1.001, allocations: 0 / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/1.001, allocations: 4 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/1.001, allocations: 0 / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.001, allocations: 3.938 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/1.001, allocations: 164.9 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-05/1.001, allocations: 89 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/1.001, allocations: 7.984 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/1.001, allocations: 4 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/1.001, allocations: 15.98 kB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/1.001, allocations: 11.92 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.671e-05/1.001, allocations: 100.1 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.002, allocations: 0 / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002057/1.002, allocations: 27.94 kB / 1.173 GB, free: 13.45 MB / 0.9044 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.0001472/1.002, allocations: 103.2 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002113/1.002, allocations: 84.97 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/1.002, allocations: 0 / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/1.002, allocations: 55.92 kB / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/1.002, allocations: 8.547 kB / 1.173 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004616/1.003, allocations: 207 kB / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/1.003, allocations: 0.6963 MB / 1.174 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.499e-05/1.003, allocations: 12.55 kB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.207e-05/1.003, allocations: 23.42 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/1.003, allocations: 0 / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of Templates: time 0.003569/1.007, allocations: 1.09 MB / 1.175 GB, free: 11.12 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches