Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001145/0.001145, allocations: 104 kB / 16.41 MB, free: 6.512 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.001143/0.001144, allocations: 187 kB / 17.34 MB, free: 5.742 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.229/2.229, allocations: 390.2 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001408, allocations: 67.89 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9084/0.9098, allocations: 140.4 MB / 1.089 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002986/0.9129, allocations: 1.61 MB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009432/0.9138, allocations: 0.5417 MB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.067e-05/0.9139, allocations: 1.062 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.494e-05/0.914, allocations: 9.984 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002928/0.9143, allocations: 46.06 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001305/0.9144, allocations: 37.53 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.9146, allocations: 110.6 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.9147, allocations: 18.69 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.9149, allocations: 46.86 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.915, allocations: 51.97 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.915, allocations: 12.5 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.651e-05/0.9151, allocations: 8.688 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.223e-05/0.9151, allocations: 25.03 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.406e-05/0.9152, allocations: 46.23 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.9154, allocations: 89.53 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.9154, allocations: 2.641 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9154, allocations: 0 / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.9154, allocations: 0 / 1.091 GB, free: 3.82 MB / 0.8575 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.000784/0.9162, allocations: 404.8 kB / 1.092 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.9163, allocations: 9.812 kB / 1.092 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.9163, allocations: 9.109 kB / 1.092 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.9165, allocations: 189.4 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.9165, allocations: 4.109 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.9165, allocations: 8.812 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.9167, allocations: 85.28 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.9167, allocations: 0 / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.9168, allocations: 6.234 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.9168, allocations: 1.312 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.9169, allocations: 54.03 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005305/0.9174, allocations: 340.3 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.9177, allocations: 105.8 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.194e-05/0.9179, allocations: 49.98 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.9179, allocations: 9.609 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002659/0.9182, allocations: 91.05 kB / 1.093 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.9182, allocations: 0 / 1.093 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0003746/0.9185, allocations: 153.7 kB / 1.093 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.9186, allocations: 52.97 kB / 1.093 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.422e-05/0.9187, allocations: 120.5 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.9187, allocations: 34.98 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.9187, allocations: 93.92 kB / 1.093 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/0.9188, allocations: 30.44 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.9189, allocations: 28.89 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.761e-05/0.9189, allocations: 324.4 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.832e-05/0.919, allocations: 25.98 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.485e-05/0.9191, allocations: 30.02 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.9192, allocations: 66.36 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9192, allocations: 7.938 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002078/0.9194, allocations: 110.7 kB / 1.094 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.9194, allocations: 6.016 kB / 1.094 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.9195, allocations: 0.5938 kB / 1.094 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.9195, allocations: 0.7812 kB / 1.094 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.9196, allocations: 18.59 kB / 1.094 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.9196, allocations: 4.781 kB / 1.094 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.9197, allocations: 14.97 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.9198, allocations: 3.938 kB / 1.094 GB, free: 1.801 MB / 0.8575 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 7.908e-05/0.9198, allocations: 127.1 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.9199, allocations: 8.484 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.9202, allocations: 139.8 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.9202, allocations: 6.031 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.9202, allocations: 1.094 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.9202, allocations: 4.734 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.9204, allocations: 212.6 kB / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.9204, allocations: 0.6562 kB / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.265e-05/0.9205, allocations: 22.95 kB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.9205, allocations: 1 kB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.9205, allocations: 7.391 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.9205, allocations: 1.188 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.9205, allocations: 0 / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.9208, allocations: 165 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.581e-05/0.9208, allocations: 89.31 kB / 1.094 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.9208, allocations: 6 kB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.9209, allocations: 11.28 kB / 1.094 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-05/0.921, allocations: 13.91 kB / 1.094 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.921, allocations: 12.86 kB / 1.094 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.277e-05/0.9211, allocations: 95.84 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9211, allocations: 3.938 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002125/0.9213, allocations: 23.22 kB / 1.094 GB, free: 1.047 MB / 0.8575 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.0001238/0.9215, allocations: 104.5 kB / 1.095 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002124/0.9217, allocations: 90.31 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.9217, allocations: 0 / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.9218, allocations: 51.27 kB / 1.095 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.922, allocations: 8.234 kB / 1.095 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005078/0.9225, allocations: 226 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.9227, allocations: 0.6997 MB / 1.096 GB, free: 24 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.9227, allocations: 20.03 kB / 1.096 GB, free: 16 kB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.9227, allocations: 0 / 1.096 GB, free: 16 kB / 0.8575 GB Notification: Performance of Templates: time 0.003838/0.9266, allocations: 1.282 MB / 1.097 GB, free: 15.91 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches