Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001486/0.001486, allocations: 108.5 kB / 15.99 MB, free: 6.359 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.001588/0.001588, allocations: 193 kB / 16.91 MB, free: 6.195 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.732/1.732, allocations: 222.9 MB / 240.6 MB, free: 15.41 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.358/2.358, allocations: 390.2 MB / 0.665 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 70.84 kB / 0.8127 GB, free: 33.28 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2601, allocations: 140.4 MB / 0.9498 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003388/0.2635, allocations: 2.197 MB / 0.9519 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004411/0.268, allocations: 3.752 MB / 0.9556 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.2681, allocations: 8 kB / 0.9556 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.2685, allocations: 47.62 kB / 0.9556 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003705/0.2688, allocations: 111.2 kB / 0.9557 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.2692, allocations: 135.8 kB / 0.9559 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003561/0.2696, allocations: 306.9 kB / 0.9562 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.2697, allocations: 60.69 kB / 0.9562 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.27, allocations: 131.5 kB / 0.9563 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.2702, allocations: 143.4 kB / 0.9565 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.623e-05/0.2702, allocations: 20 kB / 0.9565 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002399/0.2705, allocations: 135.8 kB / 0.9566 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.268e-05/0.2705, allocations: 55.81 kB / 0.9567 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.2707, allocations: 127.2 kB / 0.9568 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.271, allocations: 235.5 kB / 0.957 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.271, allocations: 0 / 0.957 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.463e-06/0.271, allocations: 4 kB / 0.957 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.271, allocations: 0 / 0.957 GB, free: 1.73 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001241/0.2722, allocations: 0.6269 MB / 0.9576 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.2723, allocations: 12.03 kB / 0.9577 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009024/0.2732, allocations: 164.4 kB / 0.9578 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006964/0.2739, allocations: 336.1 kB / 0.9581 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.2739, allocations: 8.562 kB / 0.9581 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/0.274, allocations: 7.938 kB / 0.9581 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006639/0.2747, allocations: 235.1 kB / 0.9584 GB, free: 272 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.2747, allocations: 0 / 0.9584 GB, free: 272 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.2747, allocations: 0 / 0.9584 GB, free: 272 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.2747, allocations: 4 kB / 0.9584 GB, free: 268 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009602/0.2757, allocations: 279.7 kB / 0.9586 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.277, allocations: 0.5784 MB / 0.9592 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005421/0.2775, allocations: 174.4 kB / 0.9594 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005005/0.278, allocations: 160.7 kB / 0.9595 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008699/0.2789, allocations: 0.5454 MB / 0.9601 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.279, allocations: 34.5 kB / 0.9601 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.794e-06/0.279, allocations: 0 / 0.9601 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.001645/0.2806, allocations: 492.3 kB / 0.9606 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.2807, allocations: 51.41 kB / 0.9606 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.281, allocations: 272.5 kB / 0.9609 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.281, allocations: 29.7 kB / 0.9609 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.894e-05/0.2811, allocations: 147.9 kB / 0.961 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.446e-05/0.2812, allocations: 51.38 kB / 0.9611 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.499e-05/0.2813, allocations: 37.69 kB / 0.9611 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.2814, allocations: 338.8 kB / 0.9614 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005117/0.2819, allocations: 147.9 kB / 0.9616 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004729/0.2824, allocations: 151.8 kB / 0.9617 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009405/0.2834, allocations: 294.7 kB / 0.962 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2834, allocations: 0 / 0.962 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0011/0.2845, allocations: 365 kB / 0.9624 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.2845, allocations: 6.5 kB / 0.9624 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.2845, allocations: 0 / 0.9624 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.2845, allocations: 4 kB / 0.9624 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004612/0.285, allocations: 67.92 kB / 0.9624 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.285, allocations: 7.938 kB / 0.9624 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/0.2854, allocations: 43.78 kB / 0.9625 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.2854, allocations: 7.984 kB / 0.9625 GB, free: 11.8 MB / 0.7481 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.000133/0.2855, allocations: 133.3 kB / 0.9626 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.257e-05/0.2856, allocations: 23.72 kB / 0.9626 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.2868, allocations: 379.3 kB / 0.963 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2868, allocations: 4 kB / 0.963 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.2868, allocations: 3.984 kB / 0.963 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.2868, allocations: 3.938 kB / 0.963 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003529/0.2872, allocations: 305.3 kB / 0.9633 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2872, allocations: 0 / 0.9633 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003844/0.2876, allocations: 63.86 kB / 0.9634 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.2876, allocations: 0 / 0.9634 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.2876, allocations: 15.91 kB / 0.9634 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.2877, allocations: 4 kB / 0.9634 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2877, allocations: 4 kB / 0.9634 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.2888, allocations: 438.9 kB / 0.9638 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.2889, allocations: 124.8 kB / 0.9639 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/0.289, allocations: 0 / 0.9639 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/0.2893, allocations: 39.95 kB / 0.964 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.671e-05/0.2894, allocations: 23.97 kB / 0.964 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.2894, allocations: 11.92 kB / 0.964 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001691/0.2896, allocations: 183.1 kB / 0.9642 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2896, allocations: 0 / 0.9642 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003733/0.29, allocations: 75.84 kB / 0.9642 GB, free: 9.91 MB / 0.7481 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.0002502/0.2902, allocations: 134.3 kB / 0.9644 GB, free: 9.773 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001082/0.2913, allocations: 327.7 kB / 0.9647 GB, free: 9.453 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2913, allocations: 4 kB / 0.9647 GB, free: 9.449 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005049/0.2918, allocations: 163.8 kB / 0.9648 GB, free: 9.289 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.2923, allocations: 36.41 kB / 0.9649 GB, free: 9.25 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.2935, allocations: 0.5891 MB / 0.9655 GB, free: 8.629 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.2938, allocations: 0.7474 MB / 0.9662 GB, free: 7.855 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.294, allocations: 31.41 kB / 0.9662 GB, free: 7.824 MB / 0.7481 GB Notification: Performance of SimCode: time 4.31e-07/0.294, allocations: 0 / 0.9662 GB, free: 7.824 MB / 0.7481 GB Notification: Performance of Templates: time 0.005897/0.2999, allocations: 3.718 MB / 0.9698 GB, free: 4.125 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches