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.001356/0.001356, allocations: 108.8 kB / 16.37 MB, free: 6.016 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.001374/0.001374, allocations: 195.1 kB / 17.31 MB, free: 5.613 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.429/2.429, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 68.08 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2806, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003166/0.2838, allocations: 2.163 MB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00416/0.2879, allocations: 3.786 MB / 1.033 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.926e-05/0.288, allocations: 0 / 1.033 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.2883, allocations: 63.48 kB / 1.033 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003389/0.2887, allocations: 127.1 kB / 1.033 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003266/0.289, allocations: 151.6 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003559/0.2894, allocations: 314.8 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.2895, allocations: 56.7 kB / 1.033 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.2897, allocations: 131.5 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.2899, allocations: 143.4 kB / 1.033 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.642e-05/0.29, allocations: 20 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002322/0.2902, allocations: 131.8 kB / 1.034 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.337e-05/0.2903, allocations: 67.69 kB / 1.034 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.2904, allocations: 119.3 kB / 1.034 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003553/0.2908, allocations: 338.9 kB / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2908, allocations: 0 / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2908, allocations: 0 / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2908, allocations: 0 / 1.034 GB, free: 10.47 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001178/0.292, allocations: 0.6398 MB / 1.035 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.292, allocations: 15.91 kB / 1.035 GB, free: 9.766 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009213/0.293, allocations: 168.3 kB / 1.035 GB, free: 9.602 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007343/0.2937, allocations: 324.3 kB / 1.035 GB, free: 9.242 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.2937, allocations: 8.562 kB / 1.035 GB, free: 9.234 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.2938, allocations: 15.94 kB / 1.035 GB, free: 9.219 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006479/0.2944, allocations: 226.5 kB / 1.035 GB, free: 8.992 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.2944, allocations: 0 / 1.035 GB, free: 8.992 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/0.2945, allocations: 4 kB / 1.035 GB, free: 8.988 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.2945, allocations: 4 kB / 1.035 GB, free: 8.984 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009327/0.2954, allocations: 283.7 kB / 1.036 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.2967, allocations: 0.5707 MB / 1.036 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005281/0.2972, allocations: 170.4 kB / 1.036 GB, free: 7.91 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004861/0.2977, allocations: 152.7 kB / 1.037 GB, free: 7.758 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008827/0.2986, allocations: 0.5493 MB / 1.037 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.2986, allocations: 30.56 kB / 1.037 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.2986, allocations: 3.938 kB / 1.037 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.001579/0.3002, allocations: 492.7 kB / 1.038 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.3003, allocations: 51.41 kB / 1.038 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.3005, allocations: 272.4 kB / 1.038 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.3006, allocations: 29.7 kB / 1.038 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.354e-05/0.3007, allocations: 152 kB / 1.038 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.3007, allocations: 47.39 kB / 1.038 GB, free: 6 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.854e-05/0.3008, allocations: 41.59 kB / 1.038 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3009, allocations: 338.8 kB / 1.039 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004915/0.3014, allocations: 147.9 kB / 1.039 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004802/0.3019, allocations: 147.9 kB / 1.039 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009633/0.3029, allocations: 295 kB / 1.039 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3029, allocations: 0 / 1.039 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001058/0.304, allocations: 365 kB / 1.039 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.304, allocations: 4 kB / 1.039 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.304, allocations: 4 kB / 1.039 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.304, allocations: 0 / 1.039 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004438/0.3045, allocations: 67.92 kB / 1.04 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3045, allocations: 7.984 kB / 1.04 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003263/0.3048, allocations: 43.78 kB / 1.04 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.3049, allocations: 8 kB / 1.04 GB, free: 4.539 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.305, allocations: 133.7 kB / 1.04 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/0.3051, allocations: 27.72 kB / 1.04 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.3062, allocations: 371.3 kB / 1.04 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3062, allocations: 0 / 1.04 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3062, allocations: 0 / 1.04 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.3062, allocations: 7.922 kB / 1.04 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003304/0.3066, allocations: 309.2 kB / 1.04 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3066, allocations: 4 kB / 1.04 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004013/0.307, allocations: 67.86 kB / 1.04 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.307, allocations: 0 / 1.04 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.307, allocations: 3.984 kB / 1.04 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.307, allocations: 7.938 kB / 1.04 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.307, allocations: 0 / 1.04 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.3081, allocations: 446.9 kB / 1.041 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.3082, allocations: 124.7 kB / 1.041 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.3083, allocations: 7.984 kB / 1.041 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003365/0.3086, allocations: 35.95 kB / 1.041 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.839e-05/0.3087, allocations: 27.91 kB / 1.041 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.3087, allocations: 11.92 kB / 1.041 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000158/0.3089, allocations: 183.1 kB / 1.041 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3089, allocations: 4 kB / 1.041 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003322/0.3092, allocations: 67.94 kB / 1.041 GB, free: 2.637 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: 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 (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.0002023/0.3094, allocations: 127.2 kB / 1.041 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001037/0.3105, allocations: 327.6 kB / 1.042 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3105, allocations: 0 / 1.042 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004983/0.311, allocations: 163.8 kB / 1.042 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.3114, allocations: 31.14 kB / 1.042 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000953/0.3124, allocations: 0.4931 MB / 1.042 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.3127, allocations: 0.7474 MB / 1.043 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001984/0.3129, allocations: 49.38 kB / 1.043 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.678e-05/0.313, allocations: 23.42 kB / 1.043 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of SimCode: time 3.51e-07/0.313, allocations: 0 / 1.043 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of Templates: time 0.006319/0.3193, allocations: 3.297 MB / 1.046 GB, free: 13.36 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 -s gbode -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/jenkins1/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