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.00659/0.00659, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001633/0.001633, allocations: 193.2 kB / 16.79 MB, free: 6.254 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.389/1.389, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.696/2.696, allocations: 461.9 MB / 0.7348 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 65.02 kB / 0.899 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3054, allocations: 157.4 MB / 1.053 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003723/0.3091, allocations: 1.966 MB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004598/0.3138, allocations: 3.416 MB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.314, allocations: 3.938 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.3143, allocations: 35.81 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005917/0.315, allocations: 119.4 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001055/0.3151, allocations: 23.98 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002825/0.3154, allocations: 187.1 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3155, allocations: 25.69 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.3157, allocations: 75.62 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.3159, allocations: 79.67 kB / 1.059 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.725e-05/0.316, allocations: 8 kB / 1.059 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.3161, allocations: 23.92 kB / 1.059 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.373e-05/0.3162, allocations: 31.84 kB / 1.059 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.884e-05/0.3163, allocations: 75.53 kB / 1.059 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.3165, allocations: 111.7 kB / 1.059 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3165, allocations: 0 / 1.059 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3165, allocations: 3.938 kB / 1.059 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.3165, allocations: 0 / 1.059 GB, free: 2.051 MB / 0.8106 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.0009639/0.3175, allocations: 0.4985 MB / 1.059 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.3175, allocations: 11.97 kB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.212e-05/0.3176, allocations: 24.66 kB / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/0.318, allocations: 246.8 kB / 1.06 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.318, allocations: 384 / 1.06 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.3181, allocations: 4.375 kB / 1.06 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.3185, allocations: 149.6 kB / 1.06 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.3185, allocations: 0 / 1.06 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.3185, allocations: 4 kB / 1.06 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.338e-05/0.3185, allocations: 7.984 kB / 1.06 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00043/0.319, allocations: 143.8 kB / 1.06 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007543/0.3197, allocations: 440.5 kB / 1.06 GB, free: 408 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004031/0.3202, allocations: 162.5 kB / 1.06 GB, free: 236 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.3204, allocations: 100.7 kB / 1.06 GB, free: 132 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.3205, allocations: 0 / 1.06 GB, free: 132 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.3205, allocations: 38.55 kB / 1.061 GB, free: 84 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.3205, allocations: 4 kB / 1.061 GB, free: 80 kB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0008804/0.3214, allocations: 276.7 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.3214, allocations: 51.41 kB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.3217, allocations: 217 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.3217, allocations: 29.7 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.893e-05/0.3218, allocations: 120 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.154e-05/0.3219, allocations: 51.3 kB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.245e-05/0.3219, allocations: 25.7 kB / 1.061 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.3221, allocations: 330.8 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.3223, allocations: 79.88 kB / 1.062 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.3225, allocations: 75.92 kB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004087/0.3229, allocations: 148.8 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.323, allocations: 4 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005088/0.3235, allocations: 209.2 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.3235, allocations: 11.94 kB / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3235, allocations: 0 / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3235, allocations: 0 / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.3238, allocations: 39.91 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3238, allocations: 0 / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.324, allocations: 15.97 kB / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.324, allocations: 8 kB / 1.062 GB, free: 14.36 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.3241, allocations: 125.8 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.443e-05/0.3242, allocations: 23.7 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.487e-05/0.3242, allocations: 25.84 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3243, allocations: 4 kB / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3243, allocations: 0 / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3243, allocations: 3.984 kB / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/0.3246, allocations: 261.3 kB / 1.063 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.3246, allocations: 0 / 1.063 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.3248, allocations: 43.89 kB / 1.063 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3249, allocations: 0 / 1.063 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.3249, allocations: 4 kB / 1.063 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.3249, allocations: 4 kB / 1.063 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3249, allocations: 0 / 1.063 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005767/0.3255, allocations: 311.1 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.3256, allocations: 104.9 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.3256, allocations: 4 kB / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.3258, allocations: 15.98 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.489e-05/0.3259, allocations: 11.98 kB / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.3259, allocations: 7.984 kB / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001414/0.3261, allocations: 152.5 kB / 1.063 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.533e-06/0.3261, allocations: 3.938 kB / 1.063 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002848/0.3264, allocations: 43.88 kB / 1.063 GB, free: 13.14 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 (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.0001747/0.3265, allocations: 109 kB / 1.063 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005138/0.3271, allocations: 167.9 kB / 1.064 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3271, allocations: 0 / 1.064 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002329/0.3273, allocations: 91.86 kB / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.3278, allocations: 28.66 kB / 1.064 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008901/0.3287, allocations: 485.5 kB / 1.064 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.329, allocations: 0.7278 MB / 1.065 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.07e-05/0.3291, allocations: 23.36 kB / 1.065 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of SimCode: time 1.624e-06/0.3291, allocations: 0 / 1.065 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of Templates: time 0.004717/0.3339, allocations: 2.227 MB / 1.067 GB, free: 9.254 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/jenkins1/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