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.001954/0.001954, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.002029/0.002029, allocations: 198.6 kB / 16.26 MB, free: 6.633 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.607/1.607, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.4/2.4, allocations: 390.2 MB / 0.6643 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6959/0.6975, allocations: 140.4 MB / 0.9491 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002952/0.7005, allocations: 1.661 MB / 0.9507 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009825/0.7015, allocations: 0.5335 MB / 0.9512 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.261e-05/0.7016, allocations: 5.375 kB / 0.9512 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.695e-05/0.7016, allocations: 7.922 kB / 0.9513 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002801/0.7019, allocations: 31.47 kB / 0.9513 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001129/0.702, allocations: 38.77 kB / 0.9513 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.7022, allocations: 105 kB / 0.9514 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.7023, allocations: 29.59 kB / 0.9514 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.7024, allocations: 43.09 kB / 0.9515 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.644e-05/0.7025, allocations: 52.5 kB / 0.9515 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.7026, allocations: 8.344 kB / 0.9515 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.217e-05/0.7026, allocations: 13.12 kB / 0.9516 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.994e-05/0.7026, allocations: 18.53 kB / 0.9516 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.998e-05/0.7027, allocations: 45.8 kB / 0.9516 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.7028, allocations: 92.42 kB / 0.9517 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.7028, allocations: 5.375 kB / 0.9517 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7028, allocations: 0 / 0.9517 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.7028, allocations: 0 / 0.9517 GB, free: 7.055 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.0006553/0.7035, allocations: 400.3 kB / 0.9521 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.7035, allocations: 13.12 kB / 0.9521 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.7036, allocations: 9.219 kB / 0.9521 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.847e-05/0.7037, allocations: 194.5 kB / 0.9523 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.7037, allocations: 3.125 kB / 0.9523 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.7037, allocations: 9.094 kB / 0.9523 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.7039, allocations: 88.22 kB / 0.9524 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.7039, allocations: 0 / 0.9524 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.7039, allocations: 0 / 0.9524 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.704, allocations: 2.812 kB / 0.9524 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.7041, allocations: 52.5 kB / 0.9525 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.7045, allocations: 345 kB / 0.9528 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.7047, allocations: 106.2 kB / 0.9529 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.322e-05/0.7048, allocations: 41.06 kB / 0.9529 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.7048, allocations: 5.094 kB / 0.9529 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001938/0.705, allocations: 101.6 kB / 0.953 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.7051, allocations: 3.938 kB / 0.953 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0003127/0.7054, allocations: 149.9 kB / 0.9532 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.7054, allocations: 52.81 kB / 0.9532 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.063e-05/0.7055, allocations: 122.8 kB / 0.9533 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.7055, allocations: 31.42 kB / 0.9534 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.803e-05/0.7056, allocations: 91.62 kB / 0.9535 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.7056, allocations: 39.11 kB / 0.9535 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.7056, allocations: 29.14 kB / 0.9535 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.278e-05/0.7057, allocations: 325 kB / 0.9538 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.988e-05/0.7058, allocations: 26.95 kB / 0.9539 GB, free: 5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.389e-05/0.7058, allocations: 31.09 kB / 0.9539 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.7059, allocations: 60.34 kB / 0.9539 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.706, allocations: 3.938 kB / 0.9539 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001578/0.7061, allocations: 107.5 kB / 0.954 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.7061, allocations: 9.094 kB / 0.9541 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.7061, allocations: 0 / 0.9541 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.7062, allocations: 3.938 kB / 0.9541 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.7063, allocations: 23.61 kB / 0.9541 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.7063, allocations: 0 / 0.9541 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.7064, allocations: 17.48 kB / 0.9541 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.7064, allocations: 1.594 kB / 0.9541 GB, free: 4.855 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.265e-05/0.7065, allocations: 127.5 kB / 0.9542 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/0.7065, allocations: 6.656 kB / 0.9542 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002395/0.7068, allocations: 147.6 kB / 0.9544 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.7068, allocations: 2.344 kB / 0.9544 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.7068, allocations: 0 / 0.9544 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.7068, allocations: 5.031 kB / 0.9544 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.7069, allocations: 208 kB / 0.9546 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.7069, allocations: 1.875 kB / 0.9546 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.941e-05/0.707, allocations: 20.39 kB / 0.9546 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.707, allocations: 0 / 0.9546 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.707, allocations: 10.23 kB / 0.9546 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.707, allocations: 4 kB / 0.9546 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.7071, allocations: 1.094 kB / 0.9546 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.7073, allocations: 165.9 kB / 0.9548 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.689e-05/0.7073, allocations: 88.2 kB / 0.9549 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.7073, allocations: 1.125 kB / 0.9549 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.7074, allocations: 16.36 kB / 0.9549 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/0.7075, allocations: 10.02 kB / 0.9549 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.7075, allocations: 11.94 kB / 0.9549 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.862e-05/0.7076, allocations: 98.27 kB / 0.955 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7076, allocations: 3.938 kB / 0.955 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000209/0.7078, allocations: 31.94 kB / 0.955 GB, free: 4.027 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.0001038/0.7079, allocations: 103.2 kB / 0.9551 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001912/0.7081, allocations: 95.42 kB / 0.9552 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.7081, allocations: 0 / 0.9552 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.671e-05/0.7082, allocations: 49.3 kB / 0.9553 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.7084, allocations: 10.88 kB / 0.9553 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003776/0.7088, allocations: 237.4 kB / 0.9555 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.7089, allocations: 0.6979 MB / 0.9562 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.078e-05/0.709, allocations: 11.3 kB / 0.9562 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.709, allocations: 17.09 kB / 0.9562 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.709, allocations: 0 / 0.9562 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of Templates: time 0.003165/0.7122, allocations: 1.051 MB / 0.9572 GB, free: 2.406 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