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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001066/0.001066, allocations: 110.3 kB / 16.42 MB, free: 6.469 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.001016/0.001016, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.504/2.504, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 71.88 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7087/0.7101, allocations: 157.4 MB / 1.208 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003427/0.7136, allocations: 2.15 MB / 1.211 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004804/0.7184, allocations: 3.785 MB / 1.214 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/0.7186, allocations: 4 kB / 1.214 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.7189, allocations: 61.31 kB / 1.214 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003881/0.7193, allocations: 123.1 kB / 1.214 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003839/0.7197, allocations: 151.6 kB / 1.215 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003812/0.7201, allocations: 318.9 kB / 1.215 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.7202, allocations: 56.7 kB / 1.215 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.7205, allocations: 135.5 kB / 1.215 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.7207, allocations: 155.3 kB / 1.215 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.712e-05/0.7208, allocations: 20 kB / 1.215 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002763/0.721, allocations: 127.8 kB / 1.215 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.154e-05/0.7211, allocations: 59.77 kB / 1.215 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.7212, allocations: 127.2 kB / 1.215 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004016/0.7217, allocations: 330.9 kB / 1.216 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.7217, allocations: 0 / 1.216 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7217, allocations: 0 / 1.216 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.7217, allocations: 4 kB / 1.216 GB, free: 6.207 MB / 0.9356 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.001238/0.7229, allocations: 0.6346 MB / 1.216 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.723, allocations: 12.03 kB / 1.216 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009386/0.7239, allocations: 168.4 kB / 1.217 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007131/0.7246, allocations: 320.3 kB / 1.217 GB, free: 5 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.7247, allocations: 8.562 kB / 1.217 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.7247, allocations: 15.94 kB / 1.217 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006382/0.7254, allocations: 225.4 kB / 1.217 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.7254, allocations: 0 / 1.217 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.7254, allocations: 4 kB / 1.217 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.7254, allocations: 4 kB / 1.217 GB, free: 4.742 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009468/0.7264, allocations: 283.6 kB / 1.217 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.7276, allocations: 0.5784 MB / 1.218 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005538/0.7282, allocations: 170.4 kB / 1.218 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004925/0.7287, allocations: 156.7 kB / 1.218 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008522/0.7296, allocations: 0.5493 MB / 1.219 GB, free: 2.844 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.7296, allocations: 34.56 kB / 1.219 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.733e-06/0.7296, allocations: 0 / 1.219 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.001637/0.7313, allocations: 496.2 kB / 1.219 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.7313, allocations: 51.41 kB / 1.219 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.7315, allocations: 260.6 kB / 1.22 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.7316, allocations: 25.7 kB / 1.22 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.7317, allocations: 155.9 kB / 1.22 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.728e-05/0.7318, allocations: 39.38 kB / 1.22 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.987e-05/0.7319, allocations: 41.69 kB / 1.22 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.732, allocations: 346.7 kB / 1.22 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005004/0.7325, allocations: 139.9 kB / 1.22 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000488/0.733, allocations: 155.9 kB / 1.221 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009751/0.734, allocations: 291 kB / 1.221 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.734, allocations: 0 / 1.221 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001099/0.7351, allocations: 377 kB / 1.221 GB, free: 424 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.7351, allocations: 9.875 kB / 1.221 GB, free: 416 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.7351, allocations: 0 / 1.221 GB, free: 416 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.7351, allocations: 3.938 kB / 1.221 GB, free: 412 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004608/0.7356, allocations: 67.91 kB / 1.221 GB, free: 344 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.7356, allocations: 0 / 1.221 GB, free: 344 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/0.736, allocations: 47.8 kB / 1.221 GB, free: 296 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.736, allocations: 11.92 kB / 1.221 GB, free: 284 kB / 0.9356 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.0001258/0.7362, allocations: 131.3 kB / 1.221 GB, free: 144 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.047e-05/0.7362, allocations: 27.62 kB / 1.221 GB, free: 116 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.7374, allocations: 383.2 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.7374, allocations: 0 / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.7374, allocations: 0 / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.7376, allocations: 112.8 kB / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.453e-05/0.7376, allocations: 11.94 kB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000349/0.738, allocations: 39.88 kB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/0.7381, allocations: 15.98 kB / 1.222 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001399/0.7395, allocations: 444.6 kB / 1.222 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001172/0.7406, allocations: 0.5061 MB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005151/0.7412, allocations: 163.4 kB / 1.223 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000156/0.7413, allocations: 183.1 kB / 1.223 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of Backend: time 5.11e-07/0.7413, allocations: 8 kB / 1.223 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001158/0.7425, allocations: 290.1 kB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0009604/0.7435, allocations: 0.8767 MB / 1.224 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of Templates: time 0.00814/0.7516, allocations: 4.515 MB / 1.229 GB, free: 8.531 MB / 0.9512 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/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