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.0122/0.0122, allocations: 103.7 kB / 15.73 MB, free: 6.047 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.002082/0.002082, allocations: 196.8 kB / 16.68 MB, free: 5.961 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.164 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.567/2.567, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 71.11 kB / 0.9508 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2669, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003/0.2699, allocations: 1.894 MB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003792/0.2737, allocations: 3.455 MB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.151e-05/0.2739, allocations: 0 / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002483/0.2742, allocations: 51.69 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004067/0.2746, allocations: 131.2 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 8.115e-05/0.2747, allocations: 23.97 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.2749, allocations: 171.2 kB / 1.094 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.275, allocations: 29.67 kB / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.2752, allocations: 91.56 kB / 1.094 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.2753, allocations: 75.69 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.2754, allocations: 8 kB / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.84e-05/0.2755, allocations: 35.91 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.934e-05/0.2756, allocations: 35.84 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.179e-05/0.2756, allocations: 71.55 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.2758, allocations: 171.2 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2759, allocations: 0 / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2759, allocations: 0 / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.2759, allocations: 0 / 1.094 GB, free: 11.22 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.000799/0.2767, allocations: 0.4945 MB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.2767, allocations: 12.03 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.83e-05/0.2768, allocations: 20.66 kB / 1.095 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003098/0.2771, allocations: 242.8 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.2771, allocations: 12.31 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.2771, allocations: 384 / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003532/0.2775, allocations: 153.6 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.2775, allocations: 0 / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.2775, allocations: 0 / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.817e-05/0.2776, allocations: 8 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000404/0.278, allocations: 135.9 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007308/0.2787, allocations: 444.5 kB / 1.095 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003798/0.2791, allocations: 172.4 kB / 1.096 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.2794, allocations: 96.8 kB / 1.096 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.2794, allocations: 0 / 1.096 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.2794, allocations: 38.55 kB / 1.096 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.2794, allocations: 0 / 1.096 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0007643/0.2802, allocations: 277.4 kB / 1.096 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.2803, allocations: 51.66 kB / 1.096 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.2805, allocations: 213 kB / 1.096 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.2805, allocations: 33.7 kB / 1.096 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.145e-05/0.2806, allocations: 124 kB / 1.096 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.2806, allocations: 39.36 kB / 1.096 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.826e-05/0.2807, allocations: 29.7 kB / 1.096 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2808, allocations: 334.8 kB / 1.097 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.281, allocations: 75.92 kB / 1.097 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.2812, allocations: 75.94 kB / 1.097 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004007/0.2816, allocations: 155.6 kB / 1.097 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2816, allocations: 0 / 1.097 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004799/0.2821, allocations: 217.3 kB / 1.097 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2822, allocations: 4 kB / 1.097 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2822, allocations: 0 / 1.097 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.2822, allocations: 0 / 1.097 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.2824, allocations: 31.97 kB / 1.097 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2824, allocations: 0 / 1.097 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.2826, allocations: 27.81 kB / 1.097 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.2826, allocations: 4 kB / 1.097 GB, free: 7.543 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.0001148/0.2827, allocations: 133.8 kB / 1.098 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.2828, allocations: 23.75 kB / 1.098 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.138e-05/0.2828, allocations: 21.84 kB / 1.098 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2828, allocations: 0 / 1.098 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.2829, allocations: 0 / 1.098 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2829, allocations: 3.984 kB / 1.098 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.2831, allocations: 265.4 kB / 1.098 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2831, allocations: 0 / 1.098 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.2834, allocations: 35.95 kB / 1.098 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2834, allocations: 0 / 1.098 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.2834, allocations: 0 / 1.098 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.2834, allocations: 4 kB / 1.098 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2834, allocations: 0 / 1.098 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005131/0.2839, allocations: 316.9 kB / 1.098 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.697e-05/0.284, allocations: 104.9 kB / 1.098 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/0.2841, allocations: 8 kB / 1.098 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.2842, allocations: 11.98 kB / 1.098 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.822e-05/0.2843, allocations: 19.98 kB / 1.098 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.2843, allocations: 3.984 kB / 1.098 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001149/0.2844, allocations: 152.5 kB / 1.098 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2844, allocations: 0 / 1.098 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002703/0.2847, allocations: 43.88 kB / 1.098 GB, free: 6.324 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.0001557/0.2849, allocations: 103.2 kB / 1.099 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004667/0.2853, allocations: 171.8 kB / 1.099 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.2854, allocations: 4 kB / 1.099 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.2856, allocations: 87.86 kB / 1.099 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.286, allocations: 28.59 kB / 1.099 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007517/0.2867, allocations: 414 kB / 1.099 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.287, allocations: 0.7314 MB / 1.1 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001469/0.2872, allocations: 52.58 kB / 1.1 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.606e-05/0.2872, allocations: 15.42 kB / 1.1 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of SimCode: time 1.683e-06/0.2873, allocations: 4 kB / 1.1 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of Templates: time 0.004498/0.2918, allocations: 1.757 MB / 1.102 GB, free: 2.934 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