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.00104/0.001041, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.006687/0.006687, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.474/1.474, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.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.572/2.572, allocations: 390.9 MB / 0.6663 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003544, allocations: 11.94 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7966/0.7969, allocations: 142.4 MB / 0.955 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001977/0.799, allocations: 1.324 MB / 0.9563 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009454/0.8, allocations: 0.5196 MB / 0.9568 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.583e-05/0.8, allocations: 1.406 kB / 0.9568 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/0.8001, allocations: 7.922 kB / 0.9569 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003448/0.8004, allocations: 35.73 kB / 0.9569 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.8006, allocations: 38.5 kB / 0.9569 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.8007, allocations: 109 kB / 0.957 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.8009, allocations: 15.48 kB / 0.957 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.801, allocations: 39.78 kB / 0.9571 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.8012, allocations: 43.58 kB / 0.9571 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.8012, allocations: 8.5 kB / 0.9571 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.19e-05/0.8012, allocations: 2.938 kB / 0.9571 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.189e-05/0.8013, allocations: 11.8 kB / 0.9571 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.77e-05/0.8013, allocations: 66.39 kB / 0.9572 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.8015, allocations: 92.78 kB / 0.9573 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8015, allocations: 0 / 0.9573 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8015, allocations: 3.938 kB / 0.9573 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.8015, allocations: 1.344 kB / 0.9573 GB, free: 5.965 MB / 0.7169 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.0006566/0.8021, allocations: 390.2 kB / 0.9577 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.8022, allocations: 9.219 kB / 0.9577 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.299e-05/0.8023, allocations: 9.281 kB / 0.9577 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.8024, allocations: 183.9 kB / 0.9579 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.8024, allocations: 11.38 kB / 0.9579 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.8024, allocations: 4.75 kB / 0.9579 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.8026, allocations: 87.62 kB / 0.958 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.8026, allocations: 4 kB / 0.958 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.8027, allocations: 5.844 kB / 0.958 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.8027, allocations: 5.719 kB / 0.958 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.8028, allocations: 45.03 kB / 0.958 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.8033, allocations: 346.6 kB / 0.9584 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.8036, allocations: 109.7 kB / 0.9585 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.63e-05/0.8037, allocations: 41.44 kB / 0.9585 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.8037, allocations: 1.156 kB / 0.9585 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.8039, allocations: 101.5 kB / 0.9586 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.8039, allocations: 3.938 kB / 0.9586 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.000331/0.8042, allocations: 150.4 kB / 0.9587 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.8043, allocations: 52.47 kB / 0.9588 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.091e-05/0.8044, allocations: 119 kB / 0.9589 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.8044, allocations: 30.83 kB / 0.9589 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.329e-05/0.8044, allocations: 95.67 kB / 0.959 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.8045, allocations: 31.03 kB / 0.9591 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.8045, allocations: 21.22 kB / 0.9591 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.011e-05/0.8046, allocations: 324.9 kB / 0.9594 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.953e-05/0.8046, allocations: 30.89 kB / 0.9594 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.304e-05/0.8047, allocations: 26.81 kB / 0.9594 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.8048, allocations: 68.09 kB / 0.9595 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8048, allocations: 0 / 0.9595 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001732/0.805, allocations: 110.3 kB / 0.9596 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.805, allocations: 4.125 kB / 0.9596 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.805, allocations: 5.875 kB / 0.9596 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.805, allocations: 4 kB / 0.9596 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.8051, allocations: 23.23 kB / 0.9596 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.8052, allocations: 0 / 0.9596 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.8053, allocations: 25.41 kB / 0.9597 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.8053, allocations: 7.219 kB / 0.9597 GB, free: 3.777 MB / 0.7169 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.194e-05/0.8054, allocations: 118.4 kB / 0.9598 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.921e-05/0.8054, allocations: 4.938 kB / 0.9598 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.8056, allocations: 149.1 kB / 0.9599 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.8057, allocations: 2.75 kB / 0.9599 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.8057, allocations: 3.938 kB / 0.9599 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.8057, allocations: 3.938 kB / 0.9599 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.8058, allocations: 209 kB / 0.9601 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8058, allocations: 0 / 0.9601 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.685e-05/0.8059, allocations: 21.73 kB / 0.9602 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.8059, allocations: 1.375 kB / 0.9602 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.8059, allocations: 1.375 kB / 0.9602 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.8059, allocations: 4 kB / 0.9602 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.8059, allocations: 0 / 0.9602 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.8062, allocations: 163.7 kB / 0.9603 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.875e-05/0.8062, allocations: 95.62 kB / 0.9604 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.8062, allocations: 5.375 kB / 0.9604 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.8063, allocations: 9.484 kB / 0.9604 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.8064, allocations: 17.48 kB / 0.9605 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.8064, allocations: 12.06 kB / 0.9605 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.965e-05/0.8065, allocations: 103.1 kB / 0.9606 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8065, allocations: 1.375 kB / 0.9606 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002125/0.8067, allocations: 23.19 kB / 0.9606 GB, free: 2.961 MB / 0.7169 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.0001257/0.8068, allocations: 103.8 kB / 0.9607 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002008/0.807, allocations: 89.39 kB / 0.9608 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.807, allocations: 0 / 0.9608 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.491e-05/0.8071, allocations: 51.67 kB / 0.9608 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.8073, allocations: 14.69 kB / 0.9608 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000413/0.8077, allocations: 236.8 kB / 0.9611 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.8079, allocations: 0.6997 MB / 0.9617 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.01e-05/0.8079, allocations: 10.05 kB / 0.9617 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.808, allocations: 12.94 kB / 0.9618 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of SimCode: time 3.9e-07/0.808, allocations: 0 / 0.9618 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of Templates: time 0.003471/0.8115, allocations: 0.98 MB / 0.9627 GB, free: 1.379 MB / 0.7169 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