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.007304/0.007304, allocations: 101.8 kB / 15.88 MB, free: 5.863 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.001654/0.001654, allocations: 195.6 kB / 16.79 MB, free: 5.805 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.392/1.392, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.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.728/2.728, allocations: 437 MB / 0.7106 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001484, allocations: 63.91 kB / 0.8692 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6998/0.7013, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.00287/0.7042, allocations: 1.671 MB / 1.019 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008634/0.7051, allocations: 0.5338 MB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.312e-05/0.7052, allocations: 0 / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.333e-05/0.7052, allocations: 11.86 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002723/0.7055, allocations: 31.84 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001083/0.7056, allocations: 35.95 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.7058, allocations: 103.6 kB / 1.02 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.7059, allocations: 27.95 kB / 1.02 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.706, allocations: 43.8 kB / 1.02 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.7061, allocations: 47.81 kB / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.938e-05/0.7062, allocations: 8 kB / 1.02 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.217e-05/0.7062, allocations: 4 kB / 1.02 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.708e-05/0.7062, allocations: 23.91 kB / 1.02 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.056e-05/0.7063, allocations: 39.78 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.7064, allocations: 69.8 kB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.7064, allocations: 0 / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of FrontEnd: time 8.32e-07/0.7064, allocations: 0 / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.7064, allocations: 0 / 1.02 GB, free: 148 kB / 0.7637 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.0007657/0.7072, allocations: 403.2 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.7073, allocations: 8.031 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.7073, allocations: 12.84 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.7075, allocations: 192.1 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.7075, allocations: 4.375 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.7075, allocations: 8.375 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.7077, allocations: 85.95 kB / 1.021 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.7077, allocations: 0 / 1.021 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.7077, allocations: 3.984 kB / 1.021 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.7077, allocations: 0 / 1.021 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.7079, allocations: 54.08 kB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005119/0.7084, allocations: 344.5 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.7087, allocations: 106.7 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.995e-05/0.7088, allocations: 40.84 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.7088, allocations: 4 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/0.709, allocations: 103.2 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.709, allocations: 4 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0003396/0.7094, allocations: 145.5 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.7094, allocations: 51.41 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.7095, allocations: 125.8 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.7096, allocations: 29.7 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.592e-05/0.7096, allocations: 96.28 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.7097, allocations: 35.67 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-05/0.7097, allocations: 33.64 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.7099, allocations: 326.8 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.388e-05/0.7099, allocations: 27.98 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.156e-05/0.71, allocations: 20 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.7101, allocations: 64.84 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7101, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000194/0.7103, allocations: 121.1 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.7103, allocations: 8 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.7103, allocations: 0 / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.7104, allocations: 0 / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.7105, allocations: 19.98 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.7105, allocations: 0 / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.7106, allocations: 23.86 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.7106, allocations: 4 kB / 1.022 GB, free: 13.46 MB / 0.7794 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 9.589e-05/0.7107, allocations: 126.3 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/0.7108, allocations: 11.91 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.711, allocations: 138 kB / 1.023 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.711, allocations: 4 kB / 1.023 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.711, allocations: 0 / 1.023 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.7111, allocations: 3.938 kB / 1.023 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.7112, allocations: 213.5 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.7113, allocations: 0 / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.4e-05/0.7113, allocations: 19.92 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.7114, allocations: 0 / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.7114, allocations: 4 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.7114, allocations: 4 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.7114, allocations: 0 / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.7116, allocations: 172.9 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.7117, allocations: 88.95 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.7117, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.7118, allocations: 11.98 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.7119, allocations: 11.98 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.7119, allocations: 7.938 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.489e-05/0.712, allocations: 99.27 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.712, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002036/0.7122, allocations: 24 kB / 1.023 GB, free: 12.44 MB / 0.7794 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.000124/0.7123, allocations: 107.2 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002062/0.7125, allocations: 87.97 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.7125, allocations: 0 / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.138e-05/0.7126, allocations: 51.92 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.7128, allocations: 12 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004742/0.7133, allocations: 260.8 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.7136, allocations: 0.7004 MB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/0.7136, allocations: 19.38 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.7136, allocations: 0 / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of Templates: time 0.002806/0.7164, allocations: 1.266 MB / 1.026 GB, free: 9.887 MB / 0.7794 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 -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