Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,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.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,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.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.00114, allocations: 120.5 kB / 16.42 MB, free: 6.473 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.00114/0.00114, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.611/2.611, allocations: 469.4 MB / 0.7428 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 75.81 kB / 1.066 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7053/0.7066, allocations: 159.1 MB / 1.221 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003529/0.7102, allocations: 2.022 MB / 1.223 GB, free: 304 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004639/0.7149, allocations: 3.689 MB / 1.226 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.7151, allocations: 4 kB / 1.226 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.7154, allocations: 59.36 kB / 1.227 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.7157, allocations: 99.28 kB / 1.227 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.7161, allocations: 131.7 kB / 1.227 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000346/0.7165, allocations: 259 kB / 1.227 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.7166, allocations: 52.36 kB / 1.227 GB, free: 12 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002376/0.7169, allocations: 115.5 kB / 1.227 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.7171, allocations: 107.5 kB / 1.227 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.7171, allocations: 16 kB / 1.227 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002464/0.7174, allocations: 115.8 kB / 1.227 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.595e-05/0.7174, allocations: 47.83 kB / 1.227 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.7175, allocations: 107.3 kB / 1.228 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000351/0.7179, allocations: 269 kB / 1.228 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.7179, allocations: 7.984 kB / 1.228 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7179, allocations: 0 / 1.228 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.7179, allocations: 0 / 1.228 GB, free: 11.23 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001181/0.7191, allocations: 0.5839 MB / 1.228 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.7192, allocations: 8.625 kB / 1.228 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.715e-05/0.7193, allocations: 24.66 kB / 1.228 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004329/0.7197, allocations: 279.5 kB / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.7197, allocations: 384 / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.7197, allocations: 12.38 kB / 1.229 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005206/0.7203, allocations: 172.1 kB / 1.229 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.7203, allocations: 0 / 1.229 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.7203, allocations: 4 kB / 1.229 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.7203, allocations: 3.938 kB / 1.229 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000701/0.721, allocations: 199.8 kB / 1.229 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008917/0.7219, allocations: 480.5 kB / 1.229 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004129/0.7224, allocations: 126.4 kB / 1.23 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003683/0.7227, allocations: 112.8 kB / 1.23 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008746/0.7236, allocations: 0.5493 MB / 1.23 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.7237, allocations: 38.56 kB / 1.23 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.714e-06/0.7237, allocations: 0 / 1.23 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.001229/0.7249, allocations: 349.6 kB / 1.231 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.7249, allocations: 55.34 kB / 1.231 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.7252, allocations: 238.7 kB / 1.231 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.7252, allocations: 29.7 kB / 1.231 GB, free: 7.703 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.347e-05/0.7253, allocations: 147.9 kB / 1.231 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.7254, allocations: 31.47 kB / 1.231 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.886e-05/0.7254, allocations: 37.62 kB / 1.231 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.7256, allocations: 330.8 kB / 1.231 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003512/0.7259, allocations: 91.91 kB / 1.232 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003531/0.7263, allocations: 104 kB / 1.232 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006845/0.727, allocations: 200.7 kB / 1.232 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.727, allocations: 0 / 1.232 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008039/0.7278, allocations: 249.2 kB / 1.232 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.7278, allocations: 15.94 kB / 1.232 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.7278, allocations: 3.984 kB / 1.232 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.7279, allocations: 0 / 1.232 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.7282, allocations: 51.94 kB / 1.232 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.7282, allocations: 0 / 1.232 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.7284, allocations: 27.91 kB / 1.232 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.7285, allocations: 7.984 kB / 1.232 GB, free: 6.402 MB / 0.9512 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 (11): * Single equations (assignments): 11 * 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.0001294/0.7286, allocations: 126.4 kB / 1.232 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.658e-05/0.7287, allocations: 27.72 kB / 1.232 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008904/0.7296, allocations: 283 kB / 1.233 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.7296, allocations: 0 / 1.233 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7296, allocations: 0 / 1.233 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.7297, allocations: 120.7 kB / 1.233 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.7298, allocations: 0 / 1.233 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.73, allocations: 31.95 kB / 1.233 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.599e-05/0.7301, allocations: 15.98 kB / 1.233 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001021/0.7311, allocations: 352.7 kB / 1.233 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008755/0.732, allocations: 434.9 kB / 1.234 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003761/0.7324, allocations: 108 kB / 1.234 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001429/0.7326, allocations: 174 kB / 1.234 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of Backend: time 6.02e-07/0.7326, allocations: 0 / 1.234 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008779/0.7334, allocations: 236.1 kB / 1.234 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of SimCode: time 0.000943/0.7344, allocations: 0.8276 MB / 1.235 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of Templates: time 0.007273/0.7417, allocations: 3.483 MB / 1.238 GB, free: 148 kB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches