Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.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_10_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_10_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.001603/0.001603, allocations: 103.9 kB / 16.27 MB, free: 5.98 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.0018/0.0018, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.339/1.339, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.435/2.435, allocations: 437 MB / 0.711 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 68.81 kB / 0.8699 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3005, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003617/0.3042, allocations: 2.148 MB / 1.02 GB, free: 8.484 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004735/0.309, allocations: 3.79 MB / 1.024 GB, free: 4.676 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.3092, allocations: 4 kB / 1.024 GB, free: 4.672 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000306/0.3095, allocations: 63.44 kB / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004641/0.31, allocations: 119.1 kB / 1.024 GB, free: 4.492 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/0.3105, allocations: 159.6 kB / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004363/0.3109, allocations: 314.8 kB / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.3111, allocations: 56.7 kB / 1.024 GB, free: 3.969 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003062/0.3114, allocations: 135.5 kB / 1.025 GB, free: 3.836 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.3116, allocations: 143.4 kB / 1.025 GB, free: 3.695 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.541e-05/0.3117, allocations: 20 kB / 1.025 GB, free: 3.676 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002948/0.312, allocations: 131.8 kB / 1.025 GB, free: 3.547 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.91e-05/0.3121, allocations: 59.75 kB / 1.025 GB, free: 3.488 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.3122, allocations: 127.3 kB / 1.025 GB, free: 3.363 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004412/0.3127, allocations: 330.9 kB / 1.025 GB, free: 3.039 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3127, allocations: 0 / 1.025 GB, free: 3.039 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3127, allocations: 0 / 1.025 GB, free: 3.039 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.3127, allocations: 0 / 1.025 GB, free: 3.039 MB / 0.795 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.001321/0.314, allocations: 0.6347 MB / 1.026 GB, free: 2.355 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3141, allocations: 8.922 kB / 1.026 GB, free: 2.348 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.3151, allocations: 172.4 kB / 1.026 GB, free: 2.18 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007598/0.3159, allocations: 328.2 kB / 1.026 GB, free: 1.816 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.3159, allocations: 4.562 kB / 1.026 GB, free: 1.812 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.316, allocations: 15.94 kB / 1.026 GB, free: 1.797 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006932/0.3166, allocations: 227.1 kB / 1.027 GB, free: 1.57 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3167, allocations: 0 / 1.027 GB, free: 1.57 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/0.3167, allocations: 8 kB / 1.027 GB, free: 1.562 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3167, allocations: 0 / 1.027 GB, free: 1.562 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009934/0.3177, allocations: 287.7 kB / 1.027 GB, free: 1.281 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.3191, allocations: 0.5707 MB / 1.028 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005496/0.3196, allocations: 166.5 kB / 1.028 GB, free: 500 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005151/0.3202, allocations: 164.7 kB / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009162/0.3211, allocations: 0.5415 MB / 1.028 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.3211, allocations: 38.5 kB / 1.028 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 3.416e-06/0.3211, allocations: 0 / 1.028 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.001699/0.3228, allocations: 489.7 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.3229, allocations: 55.41 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.3232, allocations: 272.5 kB / 1.029 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.3232, allocations: 25.7 kB / 1.029 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.582e-05/0.3233, allocations: 151.9 kB / 1.029 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.172e-05/0.3234, allocations: 43.33 kB / 1.029 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.663e-05/0.3235, allocations: 41.69 kB / 1.029 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3236, allocations: 338.8 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005229/0.3241, allocations: 155.8 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005022/0.3246, allocations: 143.9 kB / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009839/0.3256, allocations: 291 kB / 1.03 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3256, allocations: 0 / 1.03 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001155/0.3268, allocations: 369 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.3268, allocations: 6.344 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3268, allocations: 0 / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.3269, allocations: 0 / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004536/0.3273, allocations: 75.84 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3273, allocations: 0 / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/0.3277, allocations: 47.8 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.3277, allocations: 7.984 kB / 1.031 GB, free: 13.11 MB / 0.8106 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.0001314/0.3278, allocations: 129.8 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-05/0.3279, allocations: 23.72 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.3291, allocations: 380 kB / 1.031 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3291, allocations: 8 kB / 1.031 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3291, allocations: 0 / 1.031 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.3292, allocations: 3.938 kB / 1.031 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003418/0.3295, allocations: 305.3 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3295, allocations: 0 / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/0.3299, allocations: 59.91 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3299, allocations: 0 / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.33, allocations: 11.94 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.33, allocations: 4 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.33, allocations: 0 / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.3311, allocations: 456.7 kB / 1.032 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.3313, allocations: 116.7 kB / 1.032 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.789e-05/0.3313, allocations: 8 kB / 1.032 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003443/0.3317, allocations: 39.94 kB / 1.032 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.03e-05/0.3317, allocations: 15.98 kB / 1.032 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.3318, allocations: 15.92 kB / 1.032 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001829/0.332, allocations: 187.1 kB / 1.032 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.332, allocations: 0 / 1.032 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00037/0.3324, allocations: 67.92 kB / 1.033 GB, free: 11.21 MB / 0.8106 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 (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.0002487/0.3326, allocations: 131.2 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001165/0.3338, allocations: 331.7 kB / 1.033 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3338, allocations: 0 / 1.033 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005535/0.3344, allocations: 171.8 kB / 1.033 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004894/0.3349, allocations: 28.58 kB / 1.033 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.336, allocations: 0.525 MB / 1.034 GB, free: 10 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.3364, allocations: 0.7512 MB / 1.034 GB, free: 9.223 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.3365, allocations: 31.41 kB / 1.034 GB, free: 9.191 MB / 0.8106 GB Notification: Performance of SimCode: time 6.12e-07/0.3365, allocations: 0 / 1.034 GB, free: 9.191 MB / 0.8106 GB Notification: Performance of Templates: time 0.006368/0.3429, allocations: 3.724 MB / 1.038 GB, free: 5.496 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches