Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.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_10_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_10_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.001218/0.001218, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 180.1 kB / 16.92 MB, free: 6.652 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.467/1.467, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.737/2.737, allocations: 437.8 MB / 0.7128 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003746, allocations: 8 kB / 0.8735 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7592/0.7596, allocations: 153.8 MB / 1.024 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002436/0.762, allocations: 1.718 MB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004667/0.7667, allocations: 3.602 MB / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.7669, allocations: 7.938 kB / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000293/0.7672, allocations: 47.75 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003648/0.7676, allocations: 107.3 kB / 1.029 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.768, allocations: 95.83 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003762/0.7684, allocations: 243 kB / 1.029 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.7686, allocations: 48.23 kB / 1.029 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002648/0.7688, allocations: 103.6 kB / 1.03 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.769, allocations: 103.5 kB / 1.03 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.436e-05/0.7691, allocations: 15.92 kB / 1.03 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.7693, allocations: 111.8 kB / 1.03 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.618e-05/0.7694, allocations: 35.78 kB / 1.03 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.7695, allocations: 109.2 kB / 1.03 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.7698, allocations: 183.5 kB / 1.03 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7698, allocations: 0 / 1.03 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.744e-06/0.7698, allocations: 0 / 1.03 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.7698, allocations: 4 kB / 1.03 GB, free: 9.285 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00114/0.7709, allocations: 0.5803 MB / 1.031 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.771, allocations: 8.031 kB / 1.031 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.703e-05/0.7711, allocations: 32.66 kB / 1.031 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.7715, allocations: 267.6 kB / 1.031 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.7715, allocations: 8.375 kB / 1.031 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.7716, allocations: 8.375 kB / 1.031 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005401/0.7721, allocations: 197.6 kB / 1.031 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.7721, allocations: 0 / 1.031 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.7722, allocations: 4 kB / 1.031 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.7722, allocations: 4 kB / 1.031 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007352/0.7729, allocations: 241.7 kB / 1.031 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009003/0.7738, allocations: 492.3 kB / 1.032 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/0.7743, allocations: 158.3 kB / 1.032 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004059/0.7747, allocations: 132.8 kB / 1.032 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008828/0.7756, allocations: 0.5688 MB / 1.033 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.7756, allocations: 42.55 kB / 1.033 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.7756, allocations: 0 / 1.033 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.00129/0.7769, allocations: 413.1 kB / 1.033 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.777, allocations: 51.62 kB / 1.033 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.7772, allocations: 238.7 kB / 1.033 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.7772, allocations: 29.64 kB / 1.033 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.981e-05/0.7773, allocations: 140 kB / 1.034 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.7774, allocations: 39.45 kB / 1.034 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.7774, allocations: 17.72 kB / 1.034 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.7775, allocations: 338.8 kB / 1.034 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00037/0.7779, allocations: 115.9 kB / 1.034 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.7783, allocations: 119.9 kB / 1.034 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007274/0.779, allocations: 237.3 kB / 1.034 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.779, allocations: 0 / 1.034 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008113/0.7798, allocations: 305.2 kB / 1.035 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.7799, allocations: 6.031 kB / 1.035 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.7799, allocations: 0 / 1.035 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.7799, allocations: 0 / 1.035 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.7802, allocations: 63.88 kB / 1.035 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.7802, allocations: 7.875 kB / 1.035 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.7805, allocations: 39.88 kB / 1.035 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.7805, allocations: 7.984 kB / 1.035 GB, free: 4.117 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 (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.0001213/0.7806, allocations: 126.4 kB / 1.035 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.7807, allocations: 23.72 kB / 1.035 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009291/0.7816, allocations: 323.1 kB / 1.035 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.7816, allocations: 11.94 kB / 1.035 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.7816, allocations: 3.938 kB / 1.035 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.7816, allocations: 0 / 1.035 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003009/0.782, allocations: 273.5 kB / 1.035 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.782, allocations: 0 / 1.035 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002901/0.7823, allocations: 55.94 kB / 1.036 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.7823, allocations: 4 kB / 1.036 GB, free: 3.242 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.7823, allocations: 3.984 kB / 1.036 GB, free: 3.238 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7823, allocations: 0 / 1.036 GB, free: 3.238 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.7823, allocations: 7.938 kB / 1.036 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009009/0.7832, allocations: 399 kB / 1.036 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.7833, allocations: 116.7 kB / 1.036 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.7834, allocations: 4 kB / 1.036 GB, free: 2.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.7836, allocations: 39.97 kB / 1.036 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.924e-05/0.7837, allocations: 15.91 kB / 1.036 GB, free: 2.633 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.7837, allocations: 11.98 kB / 1.036 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001437/0.7839, allocations: 166 kB / 1.036 GB, free: 2.461 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7839, allocations: 0 / 1.036 GB, free: 2.461 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000325/0.7842, allocations: 55.94 kB / 1.036 GB, free: 2.406 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 (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 Backend phase and start with SimCode phase: time 0.0002209/0.7845, allocations: 131.2 kB / 1.036 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008295/0.7853, allocations: 263.7 kB / 1.037 GB, free: 2.012 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7853, allocations: 0 / 1.037 GB, free: 2.012 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004002/0.7857, allocations: 139.8 kB / 1.037 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.7862, allocations: 24.55 kB / 1.037 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009014/0.7871, allocations: 0.5338 MB / 1.037 GB, free: 1.285 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.7874, allocations: 0.7355 MB / 1.038 GB, free: 0.5234 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.7875, allocations: 23.42 kB / 1.038 GB, free: 0.5039 MB / 0.7794 GB Notification: Performance of SimCode: time 1.503e-06/0.7875, allocations: 0 / 1.038 GB, free: 0.5039 MB / 0.7794 GB Notification: Performance of Templates: time 0.005518/0.793, allocations: 2.957 MB / 1.041 GB, free: 13.57 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches