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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.000836/0.000836, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009073/0.0009074, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.439/2.439, allocations: 390.9 MB / 0.666 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004315/0.0004317, allocations: 12 kB / 0.8154 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8825/0.883, allocations: 142.4 MB / 0.9544 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001773/0.8848, allocations: 1.304 MB / 0.9557 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009003/0.8857, allocations: 0.5015 MB / 0.9562 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.799e-05/0.8858, allocations: 0 / 0.9562 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.676e-05/0.8859, allocations: 9.641 kB / 0.9562 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003334/0.8862, allocations: 33.91 kB / 0.9562 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.8864, allocations: 38.02 kB / 0.9563 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.8865, allocations: 94.02 kB / 0.9564 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.8866, allocations: 19.16 kB / 0.9564 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.8868, allocations: 44.19 kB / 0.9564 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.8869, allocations: 47.44 kB / 0.9565 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.887, allocations: 3.062 kB / 0.9565 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.306e-05/0.887, allocations: 4.094 kB / 0.9565 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.107e-05/0.887, allocations: 15.92 kB / 0.9565 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.631e-05/0.8871, allocations: 36.61 kB / 0.9565 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.8872, allocations: 65.98 kB / 0.9566 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.8872, allocations: 0.9688 kB / 0.9566 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8872, allocations: 0 / 0.9566 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.8872, allocations: 0 / 0.9566 GB, free: 6.016 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.0007329/0.888, allocations: 392.2 kB / 0.957 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.888, allocations: 9.062 kB / 0.957 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.633e-05/0.8881, allocations: 16.45 kB / 0.957 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.8882, allocations: 185.8 kB / 0.9572 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.8882, allocations: 6.344 kB / 0.9572 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.8883, allocations: 4.469 kB / 0.9572 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.8884, allocations: 87.19 kB / 0.9573 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.8885, allocations: 0 / 0.9573 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.8885, allocations: 1.031 kB / 0.9573 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.8885, allocations: 5.172 kB / 0.9573 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.8886, allocations: 57.11 kB / 0.9573 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004553/0.8891, allocations: 342.5 kB / 0.9576 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.8894, allocations: 106.2 kB / 0.9577 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.432e-05/0.8895, allocations: 44.7 kB / 0.9578 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.8895, allocations: 1.062 kB / 0.9578 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001875/0.8897, allocations: 100.9 kB / 0.9579 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.724e-06/0.8897, allocations: 0 / 0.9579 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0003122/0.89, allocations: 145.1 kB / 0.958 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.89, allocations: 57.72 kB / 0.9581 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.719e-05/0.8901, allocations: 127.2 kB / 0.9582 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.8901, allocations: 29.64 kB / 0.9582 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.874e-05/0.8902, allocations: 96.5 kB / 0.9583 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.8902, allocations: 30.72 kB / 0.9584 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.8902, allocations: 6.125 kB / 0.9584 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.96e-05/0.8903, allocations: 320.5 kB / 0.9587 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.476e-05/0.8903, allocations: 30.17 kB / 0.9587 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.861e-05/0.8904, allocations: 27.23 kB / 0.9587 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.809e-05/0.8905, allocations: 26.53 kB / 0.9587 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8905, allocations: 0 / 0.9587 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001673/0.8906, allocations: 116.7 kB / 0.9589 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.8907, allocations: 5.812 kB / 0.9589 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.8907, allocations: 0 / 0.9589 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.8907, allocations: 5.469 kB / 0.9589 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.8908, allocations: 18.02 kB / 0.9589 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.8908, allocations: 1.281 kB / 0.9589 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.8909, allocations: 13.64 kB / 0.9589 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.8909, allocations: 2.844 kB / 0.9589 GB, free: 3.879 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 ($whenCondition2,$whenCondition1,$PRE.locTim.tNext,locTim.tNext,$PRE.eqnTim.tNext,eqnTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.844e-05/0.891, allocations: 129.1 kB / 0.959 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.8911, allocations: 12.58 kB / 0.959 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.8913, allocations: 154.2 kB / 0.9592 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.8914, allocations: 0 / 0.9592 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.8914, allocations: 5.781 kB / 0.9592 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.8914, allocations: 0 / 0.9592 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.8915, allocations: 208.8 kB / 0.9594 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.8915, allocations: 0 / 0.9594 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.032e-05/0.8916, allocations: 24.64 kB / 0.9594 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.8916, allocations: 2.188 kB / 0.9594 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.8917, allocations: 3.953 kB / 0.9594 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.8917, allocations: 2.281 kB / 0.9594 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8917, allocations: 4 kB / 0.9594 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.8919, allocations: 152.1 kB / 0.9596 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.892, allocations: 87.75 kB / 0.9596 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.892, allocations: 5.375 kB / 0.9597 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.8921, allocations: 10.83 kB / 0.9597 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.8922, allocations: 17.47 kB / 0.9597 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.8922, allocations: 2.75 kB / 0.9597 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.797e-05/0.8922, allocations: 103.6 kB / 0.9598 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8922, allocations: 0 / 0.9598 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002162/0.8925, allocations: 23.19 kB / 0.9598 GB, free: 3.062 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000106/0.8926, allocations: 110.2 kB / 0.9599 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002053/0.8928, allocations: 84.59 kB / 0.96 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8928, allocations: 0 / 0.96 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.564e-05/0.8929, allocations: 60.97 kB / 0.96 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.893, allocations: 10.75 kB / 0.9601 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004435/0.8935, allocations: 232.9 kB / 0.9603 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.8937, allocations: 0.6984 MB / 0.961 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.229e-05/0.8937, allocations: 14.03 kB / 0.961 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.582e-05/0.8938, allocations: 14.31 kB / 0.961 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of SimCode: time 1.522e-06/0.8938, allocations: 0 / 0.961 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of Templates: time 0.003533/0.8973, allocations: 0.9517 MB / 0.9619 GB, free: 1.484 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