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) 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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_latest_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.001459/0.001459, allocations: 100.2 kB / 16.35 MB, free: 5.824 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.00163/0.00163, allocations: 193.3 kB / 17.29 MB, free: 5.48 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.504/1.504, 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 11.0.0-master/package.mo): time 2.561/2.561, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 62.94 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.336, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002818/0.3389, allocations: 1.617 MB / 1.028 GB, free: 468 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008854/0.3398, allocations: 0.5335 MB / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.321e-05/0.3398, allocations: 8 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.483e-05/0.3399, allocations: 11.86 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002755/0.3402, allocations: 43.14 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001217/0.3403, allocations: 35.88 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000136/0.3405, allocations: 111.6 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.3406, allocations: 23.98 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.3407, allocations: 51.77 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.3408, allocations: 47.83 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.3409, allocations: 8 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.992e-05/0.3409, allocations: 8 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.736e-05/0.3409, allocations: 31.84 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.629e-05/0.341, allocations: 39.8 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.3412, allocations: 91.67 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3412, allocations: 4 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3412, allocations: 4 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.3412, allocations: 0 / 1.029 GB, free: 15.41 MB / 0.8106 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.0007505/0.3419, allocations: 399.2 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.342, allocations: 8.031 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.342, allocations: 8.844 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.3422, allocations: 188.2 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.3422, allocations: 8.375 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.3423, allocations: 8.375 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.3424, allocations: 85.95 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3425, allocations: 0 / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3425, allocations: 3.938 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3425, allocations: 4 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.3426, allocations: 51.91 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005284/0.3431, allocations: 344.6 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.3434, allocations: 102.7 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.098e-05/0.3435, allocations: 56.77 kB / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.3435, allocations: 0 / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/0.3437, allocations: 95.34 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.3438, allocations: 4 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0003279/0.3441, allocations: 157.4 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.3441, allocations: 51.41 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.839e-05/0.3442, allocations: 117.8 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.3443, allocations: 33.7 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.86e-05/0.3443, allocations: 100.3 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.3444, allocations: 31.55 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.77e-05/0.3444, allocations: 29.7 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.3445, allocations: 326.8 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.696e-05/0.3446, allocations: 27.98 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.32e-05/0.3446, allocations: 31.98 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.3448, allocations: 64.78 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3448, allocations: 0 / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001731/0.3449, allocations: 117.5 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.345, allocations: 4 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.345, allocations: 0 / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.345, allocations: 0 / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.3451, allocations: 19.98 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.3451, allocations: 4 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.47e-05/0.3452, allocations: 7.938 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.3452, allocations: 7.984 kB / 1.032 GB, free: 12.73 MB / 0.8106 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 8.699e-05/0.3453, allocations: 117.8 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.3453, allocations: 7.906 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.3456, allocations: 143.8 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3456, allocations: 4 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3456, allocations: 4 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3456, allocations: 11.86 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.3458, allocations: 213.5 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3458, allocations: 0 / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.466e-05/0.3459, allocations: 12 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3459, allocations: 0 / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.3459, allocations: 11.98 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.3459, allocations: 0 / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3459, allocations: 3.938 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.3462, allocations: 164.9 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.098e-05/0.3462, allocations: 85.02 kB / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.3462, allocations: 4 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.612e-05/0.3463, allocations: 7.984 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.3464, allocations: 11.98 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.3464, allocations: 19.92 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.418e-05/0.3465, allocations: 87.28 kB / 1.033 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3465, allocations: 4 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001982/0.3467, allocations: 27.98 kB / 1.033 GB, free: 11.71 MB / 0.8106 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.0001309/0.3468, allocations: 110 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001915/0.347, allocations: 84.72 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.347, allocations: 0 / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.886e-05/0.3471, allocations: 51.92 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.3473, allocations: 8 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004449/0.3478, allocations: 210.3 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.3481, allocations: 0.6963 MB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.2e-05/0.3481, allocations: 8.547 kB / 1.034 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.3482, allocations: 15.44 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3482, allocations: 7.938 kB / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of Templates: time 0.003233/0.3514, allocations: 1.08 MB / 1.035 GB, free: 9.398 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches