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.00118/0.00118, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001077/0.001077, allocations: 177.3 kB / 15.95 MB, free: 216 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.297/1.297, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.514/2.514, allocations: 436.5 MB / 0.7104 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.0003239, allocations: 11.98 kB / 0.8708 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5994/0.5997, allocations: 153.7 MB / 1.021 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.001994/0.6017, allocations: 1.735 MB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00383/0.6056, allocations: 3.332 MB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.6057, allocations: 4 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000207/0.606, allocations: 43.75 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003497/0.6063, allocations: 127.6 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.6067, allocations: 123.6 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000323/0.607, allocations: 203.4 kB / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.6071, allocations: 44.91 kB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.6074, allocations: 115.6 kB / 1.026 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.6075, allocations: 135.4 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.302e-05/0.6076, allocations: 8 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002489/0.6078, allocations: 103.9 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.978e-05/0.6079, allocations: 47.8 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.41e-05/0.608, allocations: 65.52 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.6082, allocations: 223.4 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.6083, allocations: 0 / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6083, allocations: 0 / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.6083, allocations: 0 / 1.027 GB, free: 10.77 MB / 0.7794 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.001183/0.6095, allocations: 0.6327 MB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.6095, allocations: 8.031 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009494/0.6105, allocations: 155.5 kB / 1.028 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007477/0.6112, allocations: 323.1 kB / 1.028 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.6113, allocations: 12.14 kB / 1.028 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.6113, allocations: 12 kB / 1.028 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007037/0.612, allocations: 256.1 kB / 1.028 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.612, allocations: 0 / 1.028 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.612, allocations: 4 kB / 1.028 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.6121, allocations: 8 kB / 1.028 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.6131, allocations: 336.3 kB / 1.029 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.6144, allocations: 0.5944 MB / 1.029 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005815/0.615, allocations: 198.4 kB / 1.029 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008576/0.6159, allocations: 0.5728 MB / 1.03 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.6159, allocations: 42.45 kB / 1.03 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.6159, allocations: 0 / 1.03 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.001769/0.6177, allocations: 0.5742 MB / 1.031 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.6178, allocations: 51.41 kB / 1.031 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.618, allocations: 268.5 kB / 1.031 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.618, allocations: 25.7 kB / 1.031 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.567e-05/0.6181, allocations: 148 kB / 1.031 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.6182, allocations: 43.3 kB / 1.031 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/0.6182, allocations: 8 kB / 1.031 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.6183, allocations: 334.8 kB / 1.031 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000541/0.6189, allocations: 171.9 kB / 1.032 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005449/0.6194, allocations: 182.1 kB / 1.032 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005471/0.62, allocations: 171.8 kB / 1.032 GB, free: 5.383 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.62, allocations: 3.938 kB / 1.032 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001176/0.6212, allocations: 433 kB / 1.032 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.6212, allocations: 17.39 kB / 1.032 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.6212, allocations: 3.953 kB / 1.032 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.6213, allocations: 0 / 1.032 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004627/0.6217, allocations: 79.92 kB / 1.032 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.6217, allocations: 3.938 kB / 1.032 GB, free: 4.848 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003499/0.6221, allocations: 59.86 kB / 1.032 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.6221, allocations: 7.984 kB / 1.032 GB, free: 4.781 MB / 0.7794 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.0001356/0.6223, allocations: 129.8 kB / 1.033 GB, free: 4.645 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.277e-05/0.6223, allocations: 23.72 kB / 1.033 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.6236, allocations: 439.3 kB / 1.033 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.6236, allocations: 7.938 kB / 1.033 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.6236, allocations: 4 kB / 1.033 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.6236, allocations: 0 / 1.033 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/0.624, allocations: 309.3 kB / 1.033 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.624, allocations: 4 kB / 1.033 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004254/0.6244, allocations: 71.92 kB / 1.033 GB, free: 3.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.6244, allocations: 0 / 1.033 GB, free: 3.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.6245, allocations: 11.94 kB / 1.033 GB, free: 3.738 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.6245, allocations: 0 / 1.033 GB, free: 3.738 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.6245, allocations: 0 / 1.033 GB, free: 3.738 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.6257, allocations: 0.4911 MB / 1.034 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.6258, allocations: 120.7 kB / 1.034 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.6259, allocations: 3.984 kB / 1.034 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003669/0.6262, allocations: 59.91 kB / 1.034 GB, free: 3.031 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.657e-05/0.6263, allocations: 15.97 kB / 1.034 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.6263, allocations: 4 kB / 1.034 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001632/0.6265, allocations: 191.1 kB / 1.034 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6265, allocations: 0 / 1.034 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003566/0.6269, allocations: 71.94 kB / 1.034 GB, free: 2.754 MB / 0.7794 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.0002094/0.6271, allocations: 131.2 kB / 1.034 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001169/0.6283, allocations: 383.6 kB / 1.035 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6283, allocations: 0 / 1.035 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005713/0.6289, allocations: 199.8 kB / 1.035 GB, free: 2.043 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.6292, allocations: 31.44 kB / 1.035 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.6303, allocations: 0.5829 MB / 1.036 GB, free: 1.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.6305, allocations: 0.7516 MB / 1.036 GB, free: 0.6328 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002574/0.6308, allocations: 49.39 kB / 1.036 GB, free: 0.5859 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.65e-05/0.6309, allocations: 23.41 kB / 1.036 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of SimCode: time 3.5e-07/0.6309, allocations: 0 / 1.036 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of Templates: time 0.005904/0.6368, allocations: 2.834 MB / 1.039 GB, free: 13.75 MB / 0.795 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","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches