Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.61/2.61, allocations: 469.8 MB / 0.7424 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 67.17 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2635, allocations: 159.2 MB / 1.064 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001897/0.2654, allocations: 0.7043 MB / 1.065 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008838/0.2663, allocations: 0.804 MB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.631e-05/0.2664, allocations: 0 / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.599e-05/0.2664, allocations: 7.922 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.623e-05/0.2665, allocations: 3.938 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.306e-05/0.2665, allocations: 15.98 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.391e-05/0.2666, allocations: 39.86 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.495e-05/0.2667, allocations: 15.98 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.924e-05/0.2668, allocations: 15.98 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.559e-05/0.2668, allocations: 27.84 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.2668, allocations: 4 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.122e-05/0.2669, allocations: 4 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.2669, allocations: 7.984 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.2669, allocations: 15.88 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.956e-05/0.267, allocations: 39.81 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.267, allocations: 0 / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.302e-06/0.267, allocations: 0 / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.267, allocations: 4 kB / 1.066 GB, free: 12.42 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005066/0.2675, allocations: 363.7 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.2676, allocations: 15.97 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.263e-05/0.2676, allocations: 30.75 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.125e-05/0.2677, allocations: 4.844 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.2678, allocations: 168.3 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.2678, allocations: 384 / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.2678, allocations: 8.375 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.2681, allocations: 70.2 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.2681, allocations: 3.938 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.2681, allocations: 0 / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.2681, allocations: 0 / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000271/0.2684, allocations: 67.86 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.2687, allocations: 276.8 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.2689, allocations: 54.53 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.2691, allocations: 44.91 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.2691, allocations: 0 / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.2691, allocations: 34.5 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.2691, allocations: 4 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005166/0.2697, allocations: 125.6 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.2697, allocations: 51.41 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.686e-05/0.2698, allocations: 109.8 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.2698, allocations: 25.7 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.2699, allocations: 88.12 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.2699, allocations: 11.81 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.2699, allocations: 13.72 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2701, allocations: 314.8 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.2702, allocations: 35.95 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.2704, allocations: 31.97 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.2706, allocations: 72.66 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2706, allocations: 8 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000305/0.2709, allocations: 89.95 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.271, allocations: 11.94 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.271, allocations: 4 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.271, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.2711, allocations: 19.97 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.2711, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.121e-05/0.2712, allocations: 11.98 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.2712, allocations: 4 kB / 1.068 GB, free: 10.05 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 (3): * Single equations (assignments): 3 * 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 8.005e-05/0.2713, allocations: 117.7 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.2713, allocations: 11.89 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.967e-05/0.2714, allocations: 3.906 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.2714, allocations: 3.984 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2714, allocations: 0 / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2714, allocations: 3.938 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.2715, allocations: 173.6 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2716, allocations: 0 / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.988e-05/0.2716, allocations: 15.98 kB / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.2717, allocations: 0 / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.2717, allocations: 0 / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2717, allocations: 0 / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2717, allocations: 3.984 kB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.272, allocations: 199.4 kB / 1.068 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/0.2721, allocations: 84.95 kB / 1.068 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.2721, allocations: 0 / 1.068 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.2722, allocations: 11.98 kB / 1.068 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.2722, allocations: 11.92 kB / 1.068 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.2723, allocations: 0 / 1.068 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.634e-05/0.2723, allocations: 91.27 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2723, allocations: 0 / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002092/0.2725, allocations: 12 kB / 1.069 GB, free: 9.227 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 (3): * Single equations (assignments): 3 * 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.0006653/0.2732, allocations: 0.7259 MB / 1.069 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003176/0.2735, allocations: 71.86 kB / 1.069 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2735, allocations: 0 / 1.069 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.2737, allocations: 39.95 kB / 1.069 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.274, allocations: 9.094 kB / 1.069 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003936/0.2744, allocations: 155.2 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.2746, allocations: 0.6845 MB / 1.07 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.954e-05/0.2747, allocations: 4 kB / 1.07 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.2747, allocations: 15.42 kB / 1.07 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of SimCode: time 1.8e-07/0.2747, allocations: 0 / 1.07 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9625/1.237, allocations: 1.608 MB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.56, allocations: 6.031 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Average.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches