Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001534/0.001534, allocations: 107.9 kB / 16.37 MB, free: 6.477 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.001795/0.001795, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.206/2.206, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 62.62 kB / 0.814 GB, free: 32.74 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2953, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003359/0.2987, allocations: 2.146 MB / 0.9532 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004422/0.3032, allocations: 3.798 MB / 0.9569 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.3034, allocations: 4 kB / 0.9569 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.3037, allocations: 63.42 kB / 0.957 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003834/0.3041, allocations: 119.2 kB / 0.9571 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.3045, allocations: 155.6 kB / 0.9573 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004191/0.3049, allocations: 310.9 kB / 0.9576 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.3051, allocations: 60.7 kB / 0.9576 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.3053, allocations: 135.5 kB / 0.9577 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.3055, allocations: 143.4 kB / 0.9579 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.84e-05/0.3056, allocations: 23.94 kB / 0.9579 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002426/0.3058, allocations: 131.8 kB / 0.958 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.471e-05/0.3059, allocations: 59.77 kB / 0.9581 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.306, allocations: 127.3 kB / 0.9582 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000409/0.3064, allocations: 334.8 kB / 0.9585 GB, free: 444 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3065, allocations: 0 / 0.9585 GB, free: 444 kB / 0.7325 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3065, allocations: 0 / 0.9585 GB, free: 444 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.3065, allocations: 0 / 0.9585 GB, free: 444 kB / 0.7325 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.001388/0.3079, allocations: 0.6308 MB / 0.9591 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3079, allocations: 8.031 kB / 0.9591 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000886/0.3088, allocations: 176.4 kB / 0.9593 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006791/0.3095, allocations: 324.1 kB / 0.9596 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.3095, allocations: 4.562 kB / 0.9596 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.758e-05/0.3096, allocations: 19.88 kB / 0.9596 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006296/0.3102, allocations: 221.5 kB / 0.9599 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.3102, allocations: 0 / 0.9599 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.3103, allocations: 8 kB / 0.9599 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.3103, allocations: 0 / 0.9599 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009544/0.3112, allocations: 285.4 kB / 0.9601 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.3126, allocations: 0.5746 MB / 0.9607 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005123/0.3131, allocations: 170.5 kB / 0.9609 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004667/0.3136, allocations: 156.7 kB / 0.961 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008886/0.3145, allocations: 0.5493 MB / 0.9615 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.156e-05/0.3145, allocations: 38.5 kB / 0.9616 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.3145, allocations: 0 / 0.9616 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.00154/0.3161, allocations: 481 kB / 0.962 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.3161, allocations: 55.41 kB / 0.9621 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.3164, allocations: 268.5 kB / 0.9624 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.3164, allocations: 29.7 kB / 0.9624 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.3166, allocations: 155.9 kB / 0.9625 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/0.3166, allocations: 39.39 kB / 0.9626 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.24e-05/0.3167, allocations: 41.69 kB / 0.9626 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.3169, allocations: 338.8 kB / 0.9629 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004624/0.3173, allocations: 151.9 kB / 0.9631 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004443/0.3178, allocations: 145.8 kB / 0.9632 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009647/0.3188, allocations: 294.7 kB / 0.9635 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3188, allocations: 3.938 kB / 0.9635 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001063/0.3198, allocations: 369 kB / 0.9639 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.3199, allocations: 4 kB / 0.9639 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.3199, allocations: 0 / 0.9639 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3199, allocations: 0 / 0.9639 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004385/0.3203, allocations: 75.84 kB / 0.9639 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3204, allocations: 0 / 0.9639 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/0.3207, allocations: 43.8 kB / 0.964 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.3207, allocations: 11.98 kB / 0.964 GB, free: 10.51 MB / 0.7481 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.0001312/0.3208, allocations: 133.3 kB / 0.9641 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.708e-05/0.3209, allocations: 23.72 kB / 0.9641 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.322, allocations: 379.5 kB / 0.9645 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.322, allocations: 4 kB / 0.9645 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3221, allocations: 0 / 0.9645 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3221, allocations: 7.938 kB / 0.9645 GB, free: 9.957 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003326/0.3224, allocations: 305.3 kB / 0.9648 GB, free: 9.609 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3224, allocations: 0 / 0.9648 GB, free: 9.609 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003932/0.3228, allocations: 67.84 kB / 0.9649 GB, free: 9.543 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3228, allocations: 0 / 0.9649 GB, free: 9.543 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.3229, allocations: 8 kB / 0.9649 GB, free: 9.535 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3229, allocations: 0 / 0.9649 GB, free: 9.535 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3229, allocations: 0 / 0.9649 GB, free: 9.535 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.3239, allocations: 454.9 kB / 0.9653 GB, free: 9.074 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.3241, allocations: 112.8 kB / 0.9654 GB, free: 8.945 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.457e-05/0.3241, allocations: 8 kB / 0.9654 GB, free: 8.938 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003268/0.3244, allocations: 39.94 kB / 0.9655 GB, free: 8.898 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.92e-05/0.3245, allocations: 11.98 kB / 0.9655 GB, free: 8.887 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/0.3246, allocations: 15.92 kB / 0.9655 GB, free: 8.871 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001593/0.3247, allocations: 187.1 kB / 0.9657 GB, free: 8.691 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3247, allocations: 0 / 0.9657 GB, free: 8.691 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004057/0.3251, allocations: 71.83 kB / 0.9657 GB, free: 8.621 MB / 0.7481 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.0002157/0.3254, allocations: 135.2 kB / 0.9659 GB, free: 8.48 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.3265, allocations: 330.5 kB / 0.9662 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3265, allocations: 0 / 0.9662 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000499/0.327, allocations: 159.8 kB / 0.9663 GB, free: 8.004 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.3274, allocations: 36.62 kB / 0.9664 GB, free: 7.965 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.3285, allocations: 497.8 kB / 0.9668 GB, free: 7.449 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.3288, allocations: 0.7435 MB / 0.9676 GB, free: 6.68 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002233/0.329, allocations: 45.39 kB / 0.9676 GB, free: 6.633 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.3292, allocations: 23.42 kB / 0.9676 GB, free: 6.613 MB / 0.7481 GB Notification: Performance of SimCode: time 3.5e-07/0.3292, allocations: 0 / 0.9676 GB, free: 6.613 MB / 0.7481 GB Notification: Performance of Templates: time 0.006765/0.3359, allocations: 3.284 MB / 0.9708 GB, free: 3.359 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches