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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.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|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.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.001468/0.001468, allocations: 115.3 kB / 16.42 MB, free: 6.496 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.001648/0.001648, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.308/1.308, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.561/2.561, allocations: 472.7 MB / 0.746 GB, free: 420 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 63.91 kB / 1.07 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7009/0.7022, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00314/0.7054, allocations: 2.155 MB / 1.228 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004865/0.7103, allocations: 4.097 MB / 1.232 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.7105, allocations: 0 / 1.232 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007842/0.7113, allocations: 187.1 kB / 1.233 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.7115, allocations: 79.28 kB / 1.233 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007041/0.7122, allocations: 283.3 kB / 1.233 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006231/0.7128, allocations: 434.7 kB / 1.233 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.713, allocations: 53.72 kB / 1.233 GB, free: 6.18 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.7132, allocations: 131.5 kB / 1.234 GB, free: 6.051 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.7134, allocations: 163.3 kB / 1.234 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.735e-05/0.7134, allocations: 24 kB / 1.234 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005311/0.714, allocations: 323.5 kB / 1.234 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.7141, allocations: 107.7 kB / 1.234 GB, free: 5.445 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.7143, allocations: 178.9 kB / 1.234 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006919/0.715, allocations: 0.5755 MB / 1.235 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.715, allocations: 0 / 1.235 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.202e-06/0.715, allocations: 0 / 1.235 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.715, allocations: 0 / 1.235 GB, free: 4.695 MB / 0.9512 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.001434/0.7164, allocations: 0.8029 MB / 1.236 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.7165, allocations: 8.031 kB / 1.236 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009538/0.7174, allocations: 192.3 kB / 1.236 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007877/0.7182, allocations: 386.6 kB / 1.236 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.7183, allocations: 12.56 kB / 1.236 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.71e-05/0.7183, allocations: 15.94 kB / 1.236 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00068/0.719, allocations: 245.4 kB / 1.236 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.719, allocations: 0 / 1.236 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.719, allocations: 7.984 kB / 1.237 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.7191, allocations: 4 kB / 1.237 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.7201, allocations: 335.6 kB / 1.237 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.7215, allocations: 0.6877 MB / 1.237 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005693/0.7221, allocations: 214.4 kB / 1.238 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005184/0.7226, allocations: 184.7 kB / 1.238 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.291e-05/0.7226, allocations: 19.98 kB / 1.238 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.7227, allocations: 30.56 kB / 1.238 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.7227, allocations: 4 kB / 1.238 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.001711/0.7244, allocations: 0.5711 MB / 1.238 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.7244, allocations: 51.41 kB / 1.239 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000401/0.7248, allocations: 433.9 kB / 1.239 GB, free: 348 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.7249, allocations: 29.7 kB / 1.239 GB, free: 312 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.725, allocations: 192.5 kB / 1.239 GB, free: 116 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.7251, allocations: 43.59 kB / 1.239 GB, free: 72 kB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.89e-05/0.7252, allocations: 57.62 kB / 1.239 GB, free: 8 kB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.7253, allocations: 354.8 kB / 1.24 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006244/0.7259, allocations: 292 kB / 1.24 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006048/0.7265, allocations: 294 kB / 1.24 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.7277, allocations: 0.5111 MB / 1.241 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.7277, allocations: 4 kB / 1.241 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001414/0.7292, allocations: 0.7102 MB / 1.241 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.41e-05/0.7292, allocations: 41.69 kB / 1.241 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.7292, allocations: 3.984 kB / 1.241 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.7293, allocations: 0 / 1.241 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000458/0.7297, allocations: 71.91 kB / 1.241 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.7297, allocations: 4 kB / 1.241 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003563/0.7301, allocations: 55.67 kB / 1.242 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.7301, allocations: 15.92 kB / 1.242 GB, free: 13.64 MB / 0.9669 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001633/0.7303, allocations: 158.3 kB / 1.242 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.49e-05/0.7304, allocations: 35.77 kB / 1.242 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.7316, allocations: 440.7 kB / 1.242 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.7316, allocations: 3.984 kB / 1.242 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.7316, allocations: 0 / 1.242 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.7318, allocations: 136.8 kB / 1.242 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.686e-05/0.7318, allocations: 11.92 kB / 1.242 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/0.7322, allocations: 39.89 kB / 1.242 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.106e-05/0.7323, allocations: 19.98 kB / 1.242 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00142/0.7337, allocations: 492.5 kB / 1.243 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001186/0.7349, allocations: 0.5763 MB / 1.243 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000516/0.7355, allocations: 179.1 kB / 1.244 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002863/0.7358, allocations: 307.1 kB / 1.244 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of Backend: time 2.81e-07/0.7358, allocations: 0 / 1.244 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00143/0.7372, allocations: 0.6613 MB / 1.244 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001192/0.7384, allocations: 1.102 MB / 1.246 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of Templates: time 0.01102/0.7494, allocations: 6.765 MB / 1.252 GB, free: 2.688 MB / 0.9669 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