Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.00135/0.00135, allocations: 168.7 kB / 15.95 MB, free: 204 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.381/1.381, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.664/2.664, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003365/0.0003365, allocations: 10.09 kB / 0.9021 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2619, allocations: 159.6 MB / 1.058 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002029/0.264, allocations: 1.78 MB / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003882/0.2679, allocations: 3.543 MB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.268, allocations: 0 / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.2682, allocations: 51.67 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.2685, allocations: 107.3 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.2688, allocations: 123.7 kB / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003007/0.2692, allocations: 274.9 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.2693, allocations: 44.84 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.2695, allocations: 119.5 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.2697, allocations: 127.5 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.2697, allocations: 8 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.2699, allocations: 119.8 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.876e-05/0.27, allocations: 43.77 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.084e-05/0.2701, allocations: 61.58 kB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.2703, allocations: 223.5 kB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.2703, allocations: 0 / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2703, allocations: 8 kB / 1.064 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2703, allocations: 0 / 1.064 GB, free: 14.67 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001103/0.2714, allocations: 0.6231 MB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.2715, allocations: 8.031 kB / 1.065 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008441/0.2723, allocations: 155.4 kB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006509/0.273, allocations: 327.1 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.273, allocations: 12.19 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.2731, allocations: 4 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006621/0.2737, allocations: 260.1 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.2737, allocations: 0 / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.2738, allocations: 0 / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2738, allocations: 4 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009731/0.2748, allocations: 344.2 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.276, allocations: 0.5905 MB / 1.067 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005491/0.2765, allocations: 206.4 kB / 1.067 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005012/0.277, allocations: 188.7 kB / 1.067 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000806/0.2778, allocations: 0.5766 MB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.2779, allocations: 34.56 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.2779, allocations: 0 / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.001658/0.2795, allocations: 0.5598 MB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.2796, allocations: 63.28 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.2798, allocations: 260.6 kB / 1.069 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.2799, allocations: 25.7 kB / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.354e-05/0.28, allocations: 155.9 kB / 1.069 GB, free: 10 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.28, allocations: 43.36 kB / 1.069 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.065e-05/0.28, allocations: 4 kB / 1.069 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.2802, allocations: 338.8 kB / 1.069 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005281/0.2807, allocations: 175.9 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004999/0.2812, allocations: 175.9 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005165/0.2817, allocations: 177.6 kB / 1.07 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2817, allocations: 0 / 1.07 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001119/0.2829, allocations: 429 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.2829, allocations: 4 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2829, allocations: 0 / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.2829, allocations: 4 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/0.2834, allocations: 79.86 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.2834, allocations: 0 / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003225/0.2837, allocations: 67.78 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.2837, allocations: 7.984 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 0.0001201/0.2839, allocations: 133.8 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.572e-05/0.2839, allocations: 31.58 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.2852, allocations: 439.3 kB / 1.071 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.2852, allocations: 4 kB / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2852, allocations: 3.984 kB / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2852, allocations: 0 / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.2855, allocations: 301.5 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2855, allocations: 3.984 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004052/0.2859, allocations: 71.92 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.2859, allocations: 7.953 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.286, allocations: 7.984 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.286, allocations: 3.938 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.286, allocations: 4 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.2871, allocations: 498.9 kB / 1.072 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.2872, allocations: 124.7 kB / 1.072 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/0.2873, allocations: 7.953 kB / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003331/0.2876, allocations: 51.95 kB / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/0.2877, allocations: 15.97 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.2877, allocations: 7.984 kB / 1.072 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001507/0.2879, allocations: 183.1 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2879, allocations: 8 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003568/0.2882, allocations: 68 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001933/0.2884, allocations: 135.1 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001077/0.2895, allocations: 388 kB / 1.073 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2895, allocations: 0 / 1.073 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005194/0.2901, allocations: 195.8 kB / 1.073 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.2905, allocations: 38.81 kB / 1.073 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009782/0.2915, allocations: 0.5749 MB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.2917, allocations: 0.7516 MB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002642/0.292, allocations: 45.39 kB / 1.074 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.2921, allocations: 23.41 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.2921, allocations: 0 / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of Templates: time 0.005948/0.2981, allocations: 2.835 MB / 1.077 GB, free: 1.48 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches