Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00115/0.00115, allocations: 103.5 kB / 16.35 MB, free: 5.875 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.001136/0.001136, allocations: 191 kB / 17.29 MB, free: 5.516 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.422/2.422, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 71.7 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2893, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003006/0.2923, allocations: 1.614 MB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009567/0.2933, allocations: 0.5374 MB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.563e-05/0.2934, allocations: 4 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.726e-05/0.2934, allocations: 11.88 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000268/0.2937, allocations: 47.75 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001273/0.2939, allocations: 35.89 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.294, allocations: 115.6 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.2941, allocations: 16 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.2943, allocations: 51.83 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.2944, allocations: 47.83 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.2944, allocations: 8 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.996e-05/0.2944, allocations: 8 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.61e-05/0.2945, allocations: 31.83 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.431e-05/0.2945, allocations: 39.8 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.2947, allocations: 95.67 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2947, allocations: 0 / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2947, allocations: 4 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.2947, allocations: 4 kB / 1.029 GB, free: 15.39 MB / 0.8106 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.0007222/0.2954, allocations: 395.2 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.2955, allocations: 8.031 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.2955, allocations: 12.84 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.2957, allocations: 180.2 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.2957, allocations: 8.375 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.2957, allocations: 12.36 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.2959, allocations: 81.97 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.2959, allocations: 0 / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.296, allocations: 7.984 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.296, allocations: 0 / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.2961, allocations: 58.66 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/0.2966, allocations: 344.6 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.2969, allocations: 106.7 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.087e-05/0.297, allocations: 44.78 kB / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.297, allocations: 0 / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/0.2972, allocations: 95.3 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.502e-06/0.2972, allocations: 4 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0003229/0.2976, allocations: 149.5 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.2976, allocations: 55.34 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.592e-05/0.2977, allocations: 130.2 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.2977, allocations: 29.7 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.472e-05/0.2978, allocations: 92.36 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.2978, allocations: 35.55 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.2979, allocations: 25.7 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.845e-05/0.298, allocations: 326.8 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.107e-05/0.2981, allocations: 32 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.344e-05/0.2981, allocations: 23.98 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.2982, allocations: 68.34 kB / 1.032 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2982, allocations: 0 / 1.032 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001848/0.2984, allocations: 117.5 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.2984, allocations: 4 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2985, allocations: 0 / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.2985, allocations: 0 / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.2986, allocations: 19.98 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.2986, allocations: 0 / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.2987, allocations: 15.92 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.2987, allocations: 8 kB / 1.032 GB, free: 12.73 MB / 0.8106 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.827e-05/0.2988, allocations: 117.8 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.2989, allocations: 7.906 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.2992, allocations: 145.9 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2992, allocations: 4 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2992, allocations: 0 / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.2992, allocations: 11.92 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.2994, allocations: 217.4 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2994, allocations: 7.938 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.421e-05/0.2995, allocations: 19.98 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2995, allocations: 0 / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.2995, allocations: 0 / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2995, allocations: 4 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2995, allocations: 0 / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.2998, allocations: 171.8 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-05/0.2998, allocations: 89 kB / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.2999, allocations: 4 kB / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.3, allocations: 7.984 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.469e-05/0.3, allocations: 15.98 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.3001, allocations: 7.875 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.827e-05/0.3001, allocations: 99.27 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.31e-07/0.3001, allocations: 0 / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002147/0.3004, allocations: 20 kB / 1.033 GB, free: 11.7 MB / 0.8106 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.0001159/0.3005, allocations: 111.2 kB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000208/0.3007, allocations: 87.95 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3007, allocations: 4 kB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.332e-05/0.3008, allocations: 47.92 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.301, allocations: 8 kB / 1.033 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.3014, allocations: 197.5 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.3017, allocations: 0.7041 MB / 1.034 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.246e-05/0.3018, allocations: 4.562 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.3018, allocations: 23.42 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3018, allocations: 0 / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of Templates: time 0.00369/0.3055, allocations: 1.08 MB / 1.035 GB, free: 9.391 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches