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.001784/0.001784, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001872/0.001872, allocations: 195 kB / 16.14 MB, free: 6.711 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.442/1.442, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.463/2.463, allocations: 390.2 MB / 0.6642 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001327, allocations: 63.89 kB / 0.8118 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.758/0.7593, allocations: 140.4 MB / 0.9489 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003175/0.7626, allocations: 1.666 MB / 0.9505 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009246/0.7635, allocations: 0.5299 MB / 0.9511 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.411e-05/0.7636, allocations: 1.5 kB / 0.9511 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.951e-05/0.7637, allocations: 7.938 kB / 0.9511 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.764, allocations: 31.58 kB / 0.9511 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001202/0.7641, allocations: 42.11 kB / 0.9511 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.7643, allocations: 105.3 kB / 0.9512 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.7644, allocations: 16.31 kB / 0.9513 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.7645, allocations: 47.08 kB / 0.9513 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.7646, allocations: 44.33 kB / 0.9513 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.7647, allocations: 5.5 kB / 0.9513 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.226e-05/0.7647, allocations: 4.125 kB / 0.9514 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.924e-05/0.7648, allocations: 20.03 kB / 0.9514 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.749e-05/0.7648, allocations: 45.53 kB / 0.9514 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.765, allocations: 91.59 kB / 0.9515 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.765, allocations: 0 / 0.9515 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.172e-06/0.765, allocations: 9.312 kB / 0.9515 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.765, allocations: 0 / 0.9515 GB, free: 7.145 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.0007871/0.7658, allocations: 400 kB / 0.9519 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.7659, allocations: 8.75 kB / 0.9519 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.981e-05/0.7659, allocations: 9.906 kB / 0.9519 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.7661, allocations: 178.6 kB / 0.9521 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.7661, allocations: 10.75 kB / 0.9521 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.7661, allocations: 8.875 kB / 0.9521 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.7663, allocations: 88.55 kB / 0.9522 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.7664, allocations: 3.938 kB / 0.9522 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.7664, allocations: 4 kB / 0.9522 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.7664, allocations: 2.844 kB / 0.9522 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.7665, allocations: 44.47 kB / 0.9522 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005739/0.7671, allocations: 352.4 kB / 0.9526 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000315/0.7674, allocations: 103.1 kB / 0.9527 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.7676, allocations: 45.98 kB / 0.9527 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.7676, allocations: 0 / 0.9527 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002724/0.7679, allocations: 104.8 kB / 0.9528 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.703e-06/0.7679, allocations: 0 / 0.9528 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0003755/0.7683, allocations: 146.6 kB / 0.953 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.7683, allocations: 52.78 kB / 0.953 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.7684, allocations: 123.2 kB / 0.9531 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.7685, allocations: 26.89 kB / 0.9531 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.7685, allocations: 95.14 kB / 0.9532 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/0.7686, allocations: 39.77 kB / 0.9533 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.453e-05/0.7686, allocations: 29.8 kB / 0.9533 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.182e-05/0.7687, allocations: 320.4 kB / 0.9536 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.413e-05/0.7688, allocations: 35.2 kB / 0.9536 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.279e-05/0.7689, allocations: 34.98 kB / 0.9537 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.769, allocations: 63.91 kB / 0.9537 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.769, allocations: 0 / 0.9537 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002145/0.7692, allocations: 108.9 kB / 0.9538 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.7693, allocations: 4.906 kB / 0.9538 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.7693, allocations: 4 kB / 0.9539 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.7693, allocations: 1.375 kB / 0.9539 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.7694, allocations: 21.95 kB / 0.9539 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.7694, allocations: 0 / 0.9539 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.7696, allocations: 22.27 kB / 0.9539 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.7696, allocations: 5.344 kB / 0.9539 GB, free: 4.945 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 0.0001698/0.7698, allocations: 119.2 kB / 0.954 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.7698, allocations: 7.062 kB / 0.954 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004326/0.7703, allocations: 159.6 kB / 0.9542 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.7703, allocations: 2.406 kB / 0.9542 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.7703, allocations: 0 / 0.9542 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.7703, allocations: 4.938 kB / 0.9542 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.7706, allocations: 208.9 kB / 0.9544 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.7706, allocations: 0 / 0.9544 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.731e-05/0.7707, allocations: 17.3 kB / 0.9544 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.7707, allocations: 1.25 kB / 0.9544 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.7707, allocations: 1.562 kB / 0.9544 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.7707, allocations: 4 kB / 0.9544 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7707, allocations: 4 kB / 0.9544 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/0.7711, allocations: 165.5 kB / 0.9546 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.055e-05/0.7711, allocations: 95.94 kB / 0.9547 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.7712, allocations: 1.281 kB / 0.9547 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.7713, allocations: 5.281 kB / 0.9547 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.79e-05/0.7713, allocations: 17.03 kB / 0.9547 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.7714, allocations: 7.531 kB / 0.9547 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.856e-05/0.7714, allocations: 107.7 kB / 0.9548 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7714, allocations: 0 / 0.9548 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002799/0.7717, allocations: 26.16 kB / 0.9548 GB, free: 4.121 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.0001575/0.7719, allocations: 99.19 kB / 0.9549 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002537/0.7722, allocations: 86.62 kB / 0.955 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.7722, allocations: 0 / 0.955 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.7723, allocations: 54.97 kB / 0.955 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.7725, allocations: 10.5 kB / 0.9551 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005884/0.7731, allocations: 227.3 kB / 0.9553 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.7733, allocations: 0.7036 MB / 0.956 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.087e-05/0.7734, allocations: 5.656 kB / 0.956 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.871e-05/0.7734, allocations: 21.98 kB / 0.956 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of SimCode: time 3.4e-07/0.7734, allocations: 0 / 0.956 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of Templates: time 0.00431/0.7778, allocations: 1.003 MB / 0.957 GB, free: 2.535 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