Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001114/0.001114, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001369/0.001369, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 223.3 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.687/2.687, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004006/0.0004006, allocations: 8.438 kB / 0.9021 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2703, allocations: 159.6 MB / 1.058 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002108/0.2724, allocations: 1.577 MB / 1.06 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003633/0.2761, allocations: 3.219 MB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.912e-05/0.2762, allocations: 8 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.2765, allocations: 39.75 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003878/0.2769, allocations: 123.4 kB / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.936e-05/0.2769, allocations: 15.98 kB / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000201/0.2772, allocations: 155.2 kB / 1.063 GB, free: 160 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.121e-05/0.2773, allocations: 29.67 kB / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.2774, allocations: 75.69 kB / 1.063 GB, free: 56 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.2776, allocations: 71.64 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.2776, allocations: 4 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.663e-05/0.2777, allocations: 27.97 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.1e-05/0.2778, allocations: 31.84 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.2778, allocations: 49.62 kB / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.2779, allocations: 103.8 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.278, allocations: 0 / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.423e-06/0.278, allocations: 0 / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.278, allocations: 4 kB / 1.063 GB, free: 15.76 MB / 0.8262 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.0007598/0.2787, allocations: 0.4905 MB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.2788, allocations: 8.031 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.2788, allocations: 19.72 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.2792, allocations: 237.7 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.2792, allocations: 3.984 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.2792, allocations: 4 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.2795, allocations: 145.5 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.2796, allocations: 7.922 kB / 1.064 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.2796, allocations: 7.938 kB / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.899e-05/0.2796, allocations: 11.98 kB / 1.064 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004208/0.28, allocations: 153.6 kB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006467/0.2807, allocations: 456.5 kB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003922/0.2811, allocations: 174.4 kB / 1.065 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.2814, allocations: 108.8 kB / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.2814, allocations: 4 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.2814, allocations: 34.56 kB / 1.065 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.2814, allocations: 0 / 1.065 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0008018/0.2822, allocations: 305.4 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.2823, allocations: 51.41 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.2825, allocations: 213 kB / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.2825, allocations: 29.64 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/0.2826, allocations: 116.1 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.336e-05/0.2826, allocations: 47.34 kB / 1.066 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/0.2826, allocations: 8 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.2827, allocations: 330.8 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.283, allocations: 76.19 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.2832, allocations: 83.94 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.2834, allocations: 82.81 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2834, allocations: 4 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004935/0.2839, allocations: 217.4 kB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.284, allocations: 11.98 kB / 1.067 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.284, allocations: 0 / 1.067 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.284, allocations: 0 / 1.067 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.2842, allocations: 39.91 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.2842, allocations: 0 / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.2844, allocations: 27.83 kB / 1.067 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.2844, allocations: 15.94 kB / 1.067 GB, free: 12.08 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.795e-05/0.2845, allocations: 121.8 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.237e-05/0.2846, allocations: 15.81 kB / 1.067 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.911e-05/0.2846, allocations: 29.77 kB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.2846, allocations: 4 kB / 1.067 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2847, allocations: 0 / 1.067 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.2847, allocations: 0 / 1.067 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.2849, allocations: 261.4 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2849, allocations: 4 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.2852, allocations: 35.91 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.2852, allocations: 4 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.2852, allocations: 7.984 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2852, allocations: 0 / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2852, allocations: 0 / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005517/0.2858, allocations: 331.1 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.63e-05/0.2859, allocations: 112.8 kB / 1.068 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.2859, allocations: 4 kB / 1.068 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.2861, allocations: 11.98 kB / 1.068 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.2861, allocations: 15.98 kB / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.2861, allocations: 0 / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001307/0.2863, allocations: 156.5 kB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2863, allocations: 4 kB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002756/0.2866, allocations: 35.91 kB / 1.068 GB, free: 10.86 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001397/0.2867, allocations: 115.2 kB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000487/0.2872, allocations: 181.7 kB / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2872, allocations: 0 / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.2875, allocations: 103.9 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.2878, allocations: 26.92 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007132/0.2886, allocations: 479.5 kB / 1.069 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.2888, allocations: 0.7277 MB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001745/0.289, allocations: 48.58 kB / 1.07 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.782e-05/0.2891, allocations: 23.42 kB / 1.07 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2891, allocations: 0 / 1.07 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of Templates: time 0.004036/0.2931, allocations: 1.493 MB / 1.071 GB, free: 7.641 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches