Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001913/0.001913, allocations: 105.4 kB / 15.98 MB, free: 6.336 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.002126/0.002126, allocations: 197.6 kB / 16.91 MB, free: 6.191 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.427/1.427, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.713/2.713, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 62.75 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3622, allocations: 159.2 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003074/0.3653, allocations: 1.667 MB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009365/0.3663, allocations: 0.5299 MB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.777e-05/0.3664, allocations: 0 / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.074e-05/0.3664, allocations: 7.922 kB / 1.066 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.3667, allocations: 35.83 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001172/0.3668, allocations: 35.89 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.367, allocations: 107.6 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.3671, allocations: 23.98 kB / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.3672, allocations: 51.84 kB / 1.067 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.3674, allocations: 51.81 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.3674, allocations: 8 kB / 1.067 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.987e-05/0.3674, allocations: 8 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.863e-05/0.3675, allocations: 23.91 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.428e-05/0.3675, allocations: 39.8 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.3676, allocations: 64.09 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3677, allocations: 8 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.596e-06/0.3677, allocations: 0 / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.3677, allocations: 7.875 kB / 1.067 GB, free: 12.41 MB / 0.8419 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.0007662/0.3685, allocations: 403.2 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.3685, allocations: 8.625 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.3686, allocations: 8.844 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.3687, allocations: 192.2 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.3688, allocations: 4.375 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.3688, allocations: 8.375 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.369, allocations: 85.95 kB / 1.067 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.369, allocations: 0 / 1.067 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.369, allocations: 0 / 1.067 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.369, allocations: 4 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.3691, allocations: 59.83 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005385/0.3697, allocations: 340.7 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.37, allocations: 106.7 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.4e-05/0.3701, allocations: 44.84 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.3701, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002231/0.3703, allocations: 107.2 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=11): time 1.223e-06/0.3703, allocations: 0 / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.0003262/0.3707, allocations: 141.6 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.3707, allocations: 55.39 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.3709, allocations: 121.8 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.3709, allocations: 29.7 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.382e-05/0.371, allocations: 100.3 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/0.371, allocations: 31.56 kB / 1.069 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/0.3711, allocations: 33.64 kB / 1.069 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.3712, allocations: 322.8 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.306e-05/0.3713, allocations: 27.98 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.188e-05/0.3713, allocations: 31.98 kB / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.3715, allocations: 58.17 kB / 1.069 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3715, allocations: 0 / 1.069 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001847/0.3717, allocations: 113.6 kB / 1.069 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3717, allocations: 11.98 kB / 1.069 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3717, allocations: 4 kB / 1.069 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.3717, allocations: 0 / 1.069 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.3718, allocations: 23.98 kB / 1.069 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3718, allocations: 3.938 kB / 1.069 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.372, allocations: 7.938 kB / 1.069 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.372, allocations: 4 kB / 1.069 GB, free: 9.742 MB / 0.8419 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 0.0001043/0.3721, allocations: 127.1 kB / 1.069 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.3721, allocations: 7.906 kB / 1.069 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.3724, allocations: 144.6 kB / 1.069 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.3724, allocations: 4 kB / 1.069 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3724, allocations: 0 / 1.069 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3724, allocations: 7.875 kB / 1.069 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.3726, allocations: 225.4 kB / 1.07 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3727, allocations: 0 / 1.07 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.565e-05/0.3727, allocations: 12 kB / 1.07 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3727, allocations: 0 / 1.07 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.3728, allocations: 8 kB / 1.07 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.3728, allocations: 7.984 kB / 1.07 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3728, allocations: 0 / 1.07 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.373, allocations: 156.9 kB / 1.07 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/0.3731, allocations: 85.02 kB / 1.07 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.3731, allocations: 3.938 kB / 1.07 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.3732, allocations: 11.98 kB / 1.07 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.196e-05/0.3733, allocations: 11.98 kB / 1.07 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.3733, allocations: 19.88 kB / 1.07 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.938e-05/0.3734, allocations: 96.14 kB / 1.07 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3734, allocations: 0 / 1.07 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001997/0.3736, allocations: 20 kB / 1.07 GB, free: 8.715 MB / 0.8419 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.0001277/0.3737, allocations: 107.2 kB / 1.07 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002096/0.3739, allocations: 91.91 kB / 1.07 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.374, allocations: 0 / 1.07 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.157e-05/0.374, allocations: 51.3 kB / 1.07 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.3742, allocations: 12 kB / 1.07 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/0.3747, allocations: 260.4 kB / 1.071 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.375, allocations: 0.7078 MB / 1.071 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.445e-05/0.3751, allocations: 19.42 kB / 1.071 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3751, allocations: 0 / 1.071 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of Templates: time 0.003017/0.3781, allocations: 1.277 MB / 1.072 GB, free: 6.141 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches