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.00143/0.00143, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.00156/0.00156, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.423/1.423, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.304/2.304, allocations: 390.2 MB / 0.6653 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 64.56 kB / 0.8132 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.27, allocations: 140.4 MB / 0.9503 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003314/0.2733, allocations: 1.601 MB / 0.9518 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.2744, allocations: 0.5376 MB / 0.9524 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.381e-05/0.2745, allocations: 4 kB / 0.9524 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.143e-05/0.2745, allocations: 11.86 kB / 0.9524 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003158/0.2749, allocations: 43.52 kB / 0.9524 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/0.275, allocations: 39.89 kB / 0.9525 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.2751, allocations: 107.6 kB / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.2753, allocations: 23.98 kB / 0.9526 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.2754, allocations: 39.91 kB / 0.9526 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.2756, allocations: 55.75 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.981e-05/0.2756, allocations: 8 kB / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.435e-05/0.2756, allocations: 12 kB / 0.9527 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.749e-05/0.2757, allocations: 23.91 kB / 0.9527 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.178e-05/0.2758, allocations: 51.78 kB / 0.9528 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.2759, allocations: 87.95 kB / 0.9528 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2759, allocations: 4 kB / 0.9528 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.066e-06/0.2759, allocations: 0 / 0.9528 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.2759, allocations: 3.938 kB / 0.9529 GB, free: 6.207 MB / 0.7325 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.0007615/0.2767, allocations: 399.1 kB / 0.9532 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.2767, allocations: 12.02 kB / 0.9532 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.212e-05/0.2768, allocations: 8.844 kB / 0.9533 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.277, allocations: 184.2 kB / 0.9534 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.277, allocations: 4.375 kB / 0.9534 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.277, allocations: 8.375 kB / 0.9534 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.2772, allocations: 89.89 kB / 0.9535 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.2772, allocations: 0 / 0.9535 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.2773, allocations: 0 / 0.9535 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.2773, allocations: 7.984 kB / 0.9535 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.2774, allocations: 51.91 kB / 0.9536 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005826/0.278, allocations: 344.6 kB / 0.9539 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.2783, allocations: 102.7 kB / 0.954 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.499e-05/0.2784, allocations: 48.84 kB / 0.9541 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.2784, allocations: 0 / 0.9541 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002485/0.2787, allocations: 99.3 kB / 0.9541 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.2787, allocations: 0 / 0.9541 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0003423/0.279, allocations: 149.8 kB / 0.9543 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.2791, allocations: 51.41 kB / 0.9543 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.2792, allocations: 133.8 kB / 0.9545 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.2792, allocations: 29.7 kB / 0.9545 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.316e-05/0.2793, allocations: 96.36 kB / 0.9546 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.909e-05/0.2793, allocations: 39.48 kB / 0.9546 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.2794, allocations: 29.7 kB / 0.9547 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.2795, allocations: 318.8 kB / 0.955 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.379e-05/0.2796, allocations: 27.98 kB / 0.955 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.623e-05/0.2796, allocations: 31.98 kB / 0.955 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.2798, allocations: 60.84 kB / 0.9551 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2798, allocations: 4 kB / 0.9551 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001926/0.28, allocations: 109.6 kB / 0.9552 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.28, allocations: 7.938 kB / 0.9552 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.28, allocations: 4 kB / 0.9552 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.28, allocations: 4 kB / 0.9552 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.2801, allocations: 19.92 kB / 0.9552 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.2802, allocations: 0 / 0.9552 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.2803, allocations: 15.92 kB / 0.9552 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.2803, allocations: 0 / 0.9552 GB, free: 3.535 MB / 0.7325 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.772e-05/0.2804, allocations: 121.3 kB / 0.9553 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.2804, allocations: 7.906 kB / 0.9554 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.2807, allocations: 153.4 kB / 0.9555 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.2807, allocations: 4 kB / 0.9555 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2807, allocations: 0 / 0.9555 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2807, allocations: 3.938 kB / 0.9555 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.2809, allocations: 217.4 kB / 0.9557 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2809, allocations: 0 / 0.9557 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.131e-05/0.281, allocations: 15.98 kB / 0.9557 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.281, allocations: 4 kB / 0.9557 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.281, allocations: 4 kB / 0.9557 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.281, allocations: 4 kB / 0.9557 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.281, allocations: 0 / 0.9557 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.2813, allocations: 164.9 kB / 0.9559 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.306e-05/0.2814, allocations: 92.98 kB / 0.956 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.2814, allocations: 4 kB / 0.956 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.2815, allocations: 8 kB / 0.956 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.2816, allocations: 11.97 kB / 0.956 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.2816, allocations: 19.94 kB / 0.956 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.38e-05/0.2817, allocations: 95.27 kB / 0.9561 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2817, allocations: 0 / 0.9561 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002096/0.2819, allocations: 24 kB / 0.9561 GB, free: 2.504 MB / 0.7325 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.0001359/0.282, allocations: 103.2 kB / 0.9562 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002135/0.2823, allocations: 91.89 kB / 0.9563 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2823, allocations: 3.938 kB / 0.9563 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.415e-05/0.2824, allocations: 51.92 kB / 0.9564 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.2825, allocations: 12.8 kB / 0.9564 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005188/0.2831, allocations: 236.3 kB / 0.9566 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.2834, allocations: 0.7002 MB / 0.9573 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.596e-05/0.2834, allocations: 15.44 kB / 0.9573 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.2834, allocations: 0 / 0.9573 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of Templates: time 0.002972/0.2864, allocations: 1.275 MB / 0.9586 GB, free: 15.96 MB / 0.7481 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/jenkins1/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