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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001475/0.001475, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001732/0.001731, allocations: 191 kB / 17.29 MB, free: 5.516 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.416/2.416, allocations: 437.1 MB / 0.7112 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 68.42 kB / 0.8707 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2896, allocations: 151.6 MB / 1.019 GB, free: 9.82 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002816/0.2925, allocations: 1.596 MB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009395/0.2934, allocations: 0.5391 MB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.305e-05/0.2935, allocations: 4 kB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.785e-05/0.2936, allocations: 11.86 kB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.2939, allocations: 41.02 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001307/0.294, allocations: 39.89 kB / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000173/0.2942, allocations: 115.6 kB / 1.021 GB, free: 7.457 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.2944, allocations: 23.97 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.2945, allocations: 51.78 kB / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.2946, allocations: 51.81 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.2946, allocations: 8 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.831e-05/0.2947, allocations: 8 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.2947, allocations: 19.92 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.678e-05/0.2948, allocations: 47.78 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.2949, allocations: 95.67 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.295, allocations: 0 / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.323e-06/0.295, allocations: 4 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.295, allocations: 0 / 1.021 GB, free: 7.152 MB / 0.795 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.000778/0.2958, allocations: 399.2 kB / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.2958, allocations: 8.031 kB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.2959, allocations: 12.84 kB / 1.022 GB, free: 6.695 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.296, allocations: 184.2 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.2961, allocations: 8.375 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.2961, allocations: 4.375 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.2963, allocations: 88.34 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2963, allocations: 0 / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.2963, allocations: 4 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.2963, allocations: 0 / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.2964, allocations: 55.84 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.2969, allocations: 344.7 kB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.2972, allocations: 106.7 kB / 1.023 GB, free: 5.816 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.115e-05/0.2973, allocations: 40.84 kB / 1.023 GB, free: 5.773 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.2974, allocations: 3.938 kB / 1.023 GB, free: 5.77 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.2975, allocations: 103.3 kB / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.2976, allocations: 4 kB / 1.023 GB, free: 5.652 MB / 0.795 GB Notification: Performance of matching and sorting (n=11): time 0.0003462/0.2979, allocations: 145.8 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.298, allocations: 51.41 kB / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.2981, allocations: 129.8 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.2981, allocations: 29.7 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.2981, allocations: 96.34 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.2982, allocations: 31.56 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-05/0.2983, allocations: 29.7 kB / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2984, allocations: 326.8 kB / 1.023 GB, free: 4.773 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.995e-05/0.2984, allocations: 31.98 kB / 1.024 GB, free: 4.742 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.225e-05/0.2985, allocations: 23.98 kB / 1.024 GB, free: 4.719 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.2986, allocations: 68.22 kB / 1.024 GB, free: 4.652 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2986, allocations: 3.938 kB / 1.024 GB, free: 4.648 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001752/0.2988, allocations: 113.6 kB / 1.024 GB, free: 4.531 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.2988, allocations: 4 kB / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2989, allocations: 4 kB / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.2989, allocations: 0 / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.299, allocations: 19.98 kB / 1.024 GB, free: 4.504 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.299, allocations: 0 / 1.024 GB, free: 4.504 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.998e-05/0.2991, allocations: 7.938 kB / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.2991, allocations: 11.98 kB / 1.024 GB, free: 4.484 MB / 0.795 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.0001062/0.2992, allocations: 118.4 kB / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.2993, allocations: 7.906 kB / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002828/0.2996, allocations: 142 kB / 1.024 GB, free: 4.207 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2996, allocations: 4 kB / 1.024 GB, free: 4.203 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2996, allocations: 0 / 1.024 GB, free: 4.203 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.2996, allocations: 7.922 kB / 1.024 GB, free: 4.195 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.2998, allocations: 217.4 kB / 1.024 GB, free: 3.934 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.2998, allocations: 4 kB / 1.024 GB, free: 3.93 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.202e-05/0.2999, allocations: 19.94 kB / 1.024 GB, free: 3.91 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2999, allocations: 0 / 1.024 GB, free: 3.91 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.2999, allocations: 3.984 kB / 1.024 GB, free: 3.906 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.2999, allocations: 7.938 kB / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2999, allocations: 4 kB / 1.024 GB, free: 3.895 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.3002, allocations: 166.3 kB / 1.024 GB, free: 3.715 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/0.3002, allocations: 85.02 kB / 1.024 GB, free: 3.613 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.3002, allocations: 4 kB / 1.025 GB, free: 3.609 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.3004, allocations: 7.984 kB / 1.025 GB, free: 3.602 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/0.3004, allocations: 15.98 kB / 1.025 GB, free: 3.586 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.3004, allocations: 3.938 kB / 1.025 GB, free: 3.582 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.028e-05/0.3005, allocations: 103.3 kB / 1.025 GB, free: 3.48 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3005, allocations: 7.875 kB / 1.025 GB, free: 3.473 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002035/0.3007, allocations: 20 kB / 1.025 GB, free: 3.453 MB / 0.795 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.0001258/0.3009, allocations: 111.2 kB / 1.025 GB, free: 3.336 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00021/0.3011, allocations: 87.91 kB / 1.025 GB, free: 3.25 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3011, allocations: 0 / 1.025 GB, free: 3.25 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.415e-05/0.3012, allocations: 47.98 kB / 1.025 GB, free: 3.203 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.3014, allocations: 9.312 kB / 1.025 GB, free: 3.195 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004373/0.3018, allocations: 211.2 kB / 1.025 GB, free: 2.961 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.3021, allocations: 0.6963 MB / 1.026 GB, free: 2.238 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 5.209e-05/0.3022, allocations: 12.55 kB / 1.026 GB, free: 2.227 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.968e-05/0.3022, allocations: 19.44 kB / 1.026 GB, free: 2.207 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.3022, allocations: 0 / 1.026 GB, free: 2.207 MB / 0.795 GB Notification: Performance of Templates: time 0.003459/0.3057, allocations: 1.081 MB / 1.027 GB, free: 1.133 MB / 0.795 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 -s gbode -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/jenkins1/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