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.007259/0.007259, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.001216/0.001216, allocations: 190 kB / 16.67 MB, free: 5.934 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.25/2.25, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.91 kB / 0.9509 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9299/0.9312, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002538/0.9338, allocations: 1.607 MB / 1.089 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009213/0.9347, allocations: 0.5515 MB / 1.09 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.2e-05/0.9348, allocations: 0 / 1.09 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.211e-05/0.9349, allocations: 7.484 kB / 1.09 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000343/0.9352, allocations: 41.56 kB / 1.09 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001227/0.9353, allocations: 36.61 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.9355, allocations: 110.9 kB / 1.09 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.9357, allocations: 19.25 kB / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.9358, allocations: 46.22 kB / 1.09 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.9359, allocations: 53.47 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.936, allocations: 8.594 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.446e-05/0.936, allocations: 11.62 kB / 1.09 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.809e-05/0.936, allocations: 20.12 kB / 1.09 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.57e-05/0.9361, allocations: 42.73 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.9363, allocations: 101.5 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.9363, allocations: 1.062 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.465e-06/0.9363, allocations: 0 / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.9363, allocations: 3.938 kB / 1.091 GB, free: 3.793 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.0007321/0.9371, allocations: 405 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.9371, allocations: 9.953 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.9372, allocations: 13.78 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.9373, allocations: 182.1 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.9373, allocations: 6.906 kB / 1.091 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.9373, allocations: 5.125 kB / 1.091 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.9375, allocations: 89.34 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.9375, allocations: 1.125 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.9376, allocations: 0.5156 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.9376, allocations: 10.14 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.9377, allocations: 52.44 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004878/0.9382, allocations: 337.7 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.9385, allocations: 105.7 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.545e-05/0.9386, allocations: 42.45 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.9386, allocations: 8.766 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002184/0.9389, allocations: 103.2 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.9389, allocations: 0.625 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.00035/0.9392, allocations: 144.9 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.9393, allocations: 53.55 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.552e-05/0.9394, allocations: 124.7 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.9394, allocations: 26.52 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.252e-05/0.9394, allocations: 101.7 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.9395, allocations: 31.31 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.834e-05/0.9395, allocations: 32.47 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.682e-05/0.9396, allocations: 320 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.976e-05/0.9396, allocations: 30.58 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.838e-05/0.9397, allocations: 26.83 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.9398, allocations: 70.12 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.9398, allocations: 1.156 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001774/0.94, allocations: 113.8 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.94, allocations: 5.688 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.94, allocations: 0 / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.9401, allocations: 1.734 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.9402, allocations: 17.56 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.9402, allocations: 4.875 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.9403, allocations: 19.3 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.9403, allocations: 3.156 kB / 1.093 GB, free: 1.77 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.58e-05/0.9404, allocations: 123.5 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.9404, allocations: 7.797 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003006/0.9407, allocations: 148 kB / 1.093 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.9407, allocations: 2.031 kB / 1.093 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.9408, allocations: 0.7031 kB / 1.093 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.9408, allocations: 9.938 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.9409, allocations: 212.1 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.9409, allocations: 1 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.884e-05/0.941, allocations: 14.34 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.941, allocations: 5.609 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.9411, allocations: 3 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.9411, allocations: 4.875 kB / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.9411, allocations: 0 / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.9413, allocations: 162.3 kB / 1.094 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.357e-05/0.9414, allocations: 89.81 kB / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.9414, allocations: 5.766 kB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.9415, allocations: 11.02 kB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/0.9416, allocations: 13.78 kB / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.9416, allocations: 12.84 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.056e-05/0.9417, allocations: 102.8 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9417, allocations: 3.938 kB / 1.094 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000233/0.9419, allocations: 31.55 kB / 1.094 GB, free: 1.004 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.0001319/0.9421, allocations: 104.7 kB / 1.094 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002345/0.9423, allocations: 89.52 kB / 1.094 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.9423, allocations: 4 kB / 1.094 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.676e-05/0.9424, allocations: 50.88 kB / 1.094 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.9426, allocations: 7.469 kB / 1.094 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004194/0.943, allocations: 207 kB / 1.094 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.9432, allocations: 0.6959 MB / 1.095 GB, free: 8 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.815e-05/0.9432, allocations: 16.84 kB / 1.095 GB, free: 0 / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.693e-05/0.9433, allocations: 15.42 kB / 1.095 GB, free: 16 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.9433, allocations: 0.6875 kB / 1.095 GB, free: 16 MB / 0.8731 GB Notification: Performance of Templates: time 0.003967/0.9473, allocations: 1.09 MB / 1.096 GB, free: 15.88 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/jenkins/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