Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006652/0.006652, allocations: 105.4 kB / 15.74 MB, free: 6.039 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.001477/0.001478, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.725/1.725, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.517/2.517, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 58.97 kB / 0.9508 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2974, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.004336/0.3018, allocations: 1.907 MB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005344/0.3072, allocations: 3.44 MB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.3074, allocations: 0 / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003348/0.3077, allocations: 59.62 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006828/0.3084, allocations: 127.3 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.846e-05/0.3086, allocations: 19.97 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.3089, allocations: 171.2 kB / 1.094 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.309, allocations: 33.67 kB / 1.094 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.3093, allocations: 79.64 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.3095, allocations: 83.61 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.3095, allocations: 8 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.3096, allocations: 31.92 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.099e-05/0.3097, allocations: 39.83 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.934e-05/0.3098, allocations: 75.55 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.3101, allocations: 163.2 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3102, allocations: 0 / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3102, allocations: 0 / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.3102, allocations: 4 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001087/0.3113, allocations: 0.4984 MB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3113, allocations: 12.03 kB / 1.095 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.611e-05/0.3114, allocations: 20.66 kB / 1.095 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004349/0.3119, allocations: 242.8 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.3119, allocations: 12.31 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.3119, allocations: 4.375 kB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004212/0.3123, allocations: 141.7 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.3124, allocations: 3.984 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.3124, allocations: 3.984 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-05/0.3124, allocations: 8 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004522/0.3129, allocations: 131.9 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000804/0.3137, allocations: 444.5 kB / 1.095 GB, free: 9.598 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004274/0.3142, allocations: 162.4 kB / 1.096 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/0.3145, allocations: 104.8 kB / 1.096 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.3145, allocations: 4 kB / 1.096 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.3145, allocations: 30.56 kB / 1.096 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.3145, allocations: 0 / 1.096 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.000891/0.3154, allocations: 283.9 kB / 1.096 GB, free: 9 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.3155, allocations: 55.66 kB / 1.096 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.3157, allocations: 205 kB / 1.096 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.311e-05/0.3158, allocations: 29.7 kB / 1.096 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.3159, allocations: 128 kB / 1.096 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.159e-05/0.316, allocations: 47.34 kB / 1.096 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.497e-05/0.3161, allocations: 33.7 kB / 1.097 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.3162, allocations: 330.8 kB / 1.097 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.3165, allocations: 71.94 kB / 1.097 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.3167, allocations: 79.94 kB / 1.097 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004459/0.3172, allocations: 155.7 kB / 1.097 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3172, allocations: 0 / 1.097 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005368/0.3177, allocations: 213.3 kB / 1.097 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3178, allocations: 7.984 kB / 1.097 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.3178, allocations: 0 / 1.097 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3178, allocations: 0 / 1.097 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.318, allocations: 31.97 kB / 1.097 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.3181, allocations: 4 kB / 1.097 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.3182, allocations: 19.89 kB / 1.097 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.3183, allocations: 3.984 kB / 1.097 GB, free: 7.559 MB / 0.8575 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 (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 prepare postOptimizeDAE: time 0.0001315/0.3184, allocations: 137.7 kB / 1.098 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.3184, allocations: 15.81 kB / 1.098 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.657e-05/0.3185, allocations: 29.77 kB / 1.098 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.3185, allocations: 0 / 1.098 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3185, allocations: 0 / 1.098 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3185, allocations: 4 kB / 1.098 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002831/0.3188, allocations: 257.4 kB / 1.098 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3188, allocations: 4 kB / 1.098 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/0.3191, allocations: 31.97 kB / 1.098 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3191, allocations: 0 / 1.098 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.3191, allocations: 7.984 kB / 1.098 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3191, allocations: 0 / 1.098 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3191, allocations: 0 / 1.098 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005903/0.3197, allocations: 315 kB / 1.098 GB, free: 6.699 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.3198, allocations: 100.9 kB / 1.098 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.3199, allocations: 11.98 kB / 1.098 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.32, allocations: 11.98 kB / 1.098 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.463e-05/0.3201, allocations: 15.92 kB / 1.098 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.3201, allocations: 0 / 1.098 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001531/0.3203, allocations: 160.5 kB / 1.098 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3203, allocations: 0 / 1.098 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002945/0.3206, allocations: 43.88 kB / 1.098 GB, free: 6.34 MB / 0.8575 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.000191/0.3208, allocations: 107.2 kB / 1.099 GB, free: 6.227 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005719/0.3214, allocations: 175.8 kB / 1.099 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3214, allocations: 0 / 1.099 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.3217, allocations: 91.11 kB / 1.099 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.3221, allocations: 30.22 kB / 1.099 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008428/0.323, allocations: 408.5 kB / 1.099 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.3233, allocations: 0.7275 MB / 1.1 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000162/0.3235, allocations: 56.58 kB / 1.1 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.93e-05/0.3235, allocations: 19.42 kB / 1.1 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.3235, allocations: 0 / 1.1 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of Templates: time 0.004813/0.3283, allocations: 1.711 MB / 1.102 GB, free: 2.992 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches