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.008102/0.008102, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.00185/0.00185, allocations: 195.6 kB / 16.67 MB, free: 5.52 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.18 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.178/2.178, allocations: 390.2 MB / 0.6648 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 68.05 kB / 0.9508 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7594/0.7607, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00309/0.7638, allocations: 2.141 MB / 1.09 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00524/0.769, allocations: 3.784 MB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.7692, allocations: 2.344 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003759/0.7697, allocations: 63.3 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004806/0.7702, allocations: 130.5 kB / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.7705, allocations: 143.6 kB / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004226/0.771, allocations: 316.8 kB / 1.094 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.7711, allocations: 54.44 kB / 1.094 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002618/0.7714, allocations: 131.5 kB / 1.095 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.7716, allocations: 151.4 kB / 1.095 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.69e-05/0.7717, allocations: 19.78 kB / 1.095 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002842/0.7719, allocations: 133.8 kB / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.297e-05/0.772, allocations: 60.11 kB / 1.095 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.7722, allocations: 119.6 kB / 1.095 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004788/0.7727, allocations: 346.1 kB / 1.095 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.7727, allocations: 1.328 kB / 1.095 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7727, allocations: 0 / 1.095 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.7727, allocations: 0 / 1.095 GB, free: 0.5117 MB / 0.8575 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.001472/0.7742, allocations: 0.6339 MB / 1.096 GB, free: 8 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.7743, allocations: 10.16 kB / 1.096 GB, free: 8 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.7753, allocations: 179.5 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007367/0.7761, allocations: 314.5 kB / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.7761, allocations: 12.81 kB / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/0.7761, allocations: 14.66 kB / 1.096 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007096/0.7769, allocations: 220.2 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.7769, allocations: 1.219 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.7769, allocations: 8.75 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.7769, allocations: 3.25 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.778, allocations: 284.8 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.7794, allocations: 0.5699 MB / 1.097 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005968/0.78, allocations: 169.1 kB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000526/0.7805, allocations: 160.5 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009246/0.7815, allocations: 0.5449 MB / 1.098 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.7815, allocations: 36.77 kB / 1.098 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.7815, allocations: 4 kB / 1.098 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.001748/0.7833, allocations: 482.1 kB / 1.099 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.7834, allocations: 56.5 kB / 1.099 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002975/0.7837, allocations: 267.5 kB / 1.099 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.7837, allocations: 34.3 kB / 1.099 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.7838, allocations: 152.3 kB / 1.099 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.885e-05/0.7839, allocations: 40.09 kB / 1.099 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.784, allocations: 38.31 kB / 1.099 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.7841, allocations: 341.7 kB / 1.1 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005129/0.7847, allocations: 151.1 kB / 1.1 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005154/0.7852, allocations: 149.7 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009702/0.7862, allocations: 286.3 kB / 1.1 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7862, allocations: 0.8125 kB / 1.1 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001125/0.7873, allocations: 370.6 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.7873, allocations: 6.266 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.7873, allocations: 0 / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.7874, allocations: 8.688 kB / 1.101 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/0.7878, allocations: 64.69 kB / 1.101 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.7878, allocations: 1.188 kB / 1.101 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003372/0.7882, allocations: 55.45 kB / 1.101 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.784e-05/0.7882, allocations: 10.72 kB / 1.101 GB, free: 13.23 MB / 0.8731 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.0001337/0.7884, allocations: 132.8 kB / 1.101 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.7884, allocations: 27.31 kB / 1.101 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.7896, allocations: 374.5 kB / 1.101 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.7897, allocations: 2.547 kB / 1.101 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.7897, allocations: 0 / 1.101 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.7897, allocations: 8.719 kB / 1.101 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.7901, allocations: 310.4 kB / 1.102 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.7901, allocations: 1.188 kB / 1.102 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004004/0.7905, allocations: 57.14 kB / 1.102 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.7905, allocations: 4.844 kB / 1.102 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.7905, allocations: 9.156 kB / 1.102 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.7905, allocations: 1.062 kB / 1.102 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7905, allocations: 0 / 1.102 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.7917, allocations: 447.4 kB / 1.102 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.7918, allocations: 120.7 kB / 1.102 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.7919, allocations: 5.734 kB / 1.102 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003391/0.7922, allocations: 42 kB / 1.102 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.498e-05/0.7923, allocations: 15.55 kB / 1.102 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.7923, allocations: 10.36 kB / 1.102 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001815/0.7925, allocations: 186.2 kB / 1.102 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7925, allocations: 0 / 1.102 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003836/0.7929, allocations: 72.59 kB / 1.103 GB, free: 12.22 MB / 0.8731 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.0002638/0.7932, allocations: 138.8 kB / 1.103 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001241/0.7944, allocations: 315.1 kB / 1.103 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7944, allocations: 0.5312 kB / 1.103 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005973/0.795, allocations: 167 kB / 1.103 GB, free: 12 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.7955, allocations: 41.97 kB / 1.103 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.7966, allocations: 0.4935 MB / 1.104 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.7969, allocations: 0.7462 MB / 1.104 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002298/0.7972, allocations: 43.02 kB / 1.104 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.7973, allocations: 25.83 kB / 1.104 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of SimCode: time 5.21e-07/0.7973, allocations: 1.312 kB / 1.104 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of Templates: time 0.007389/0.8047, allocations: 3.302 MB / 1.108 GB, free: 10.72 MB / 0.8731 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/jenkins/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