Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_latest_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.008183/0.008182, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.002012/0.002012, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.377/1.377, 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 11.1.0-master/package.mo): time 2.833/2.833, allocations: 469.4 MB / 0.7421 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00235/0.00235, allocations: 71.89 kB / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2845, allocations: 159.1 MB / 1.22 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001763/0.2863, allocations: 0.71 MB / 1.22 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00081/0.2872, allocations: 0.798 MB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.231e-05/0.2872, allocations: 4 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.663e-05/0.2872, allocations: 3.938 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.173e-05/0.2873, allocations: 3.938 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.411e-05/0.2874, allocations: 11.98 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.325e-05/0.2875, allocations: 55.77 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.557e-05/0.2875, allocations: 8 kB / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.913e-05/0.2876, allocations: 15.98 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.032e-05/0.2877, allocations: 19.91 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.2877, allocations: 8 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.955e-06/0.2877, allocations: 7.938 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.2877, allocations: 4 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.2877, allocations: 19.92 kB / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.281e-05/0.2878, allocations: 43.8 kB / 1.221 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2878, allocations: 0 / 1.221 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2878, allocations: 0 / 1.221 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2879, allocations: 0 / 1.221 GB, free: 12.88 MB / 0.9825 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.0004776/0.2883, allocations: 367.3 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.2884, allocations: 12.03 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.395e-05/0.2884, allocations: 42.67 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.334e-05/0.2884, allocations: 4.891 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.853e-05/0.2886, allocations: 164.4 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.2886, allocations: 384 / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.2886, allocations: 4.375 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.2888, allocations: 70.22 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.2888, allocations: 3.938 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.505e-06/0.2889, allocations: 4 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2889, allocations: 3.984 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000298/0.2892, allocations: 59.94 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.2895, allocations: 276.8 kB / 1.222 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.2897, allocations: 58.53 kB / 1.222 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.2899, allocations: 36.92 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.2899, allocations: 3.984 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.2899, allocations: 34.5 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.2899, allocations: 0 / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005389/0.2904, allocations: 133.5 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.2905, allocations: 55.41 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.19e-05/0.2906, allocations: 105.8 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.2906, allocations: 25.7 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.2906, allocations: 92.14 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.2907, allocations: 19.83 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.2907, allocations: 13.72 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.61e-05/0.2908, allocations: 314.8 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.291, allocations: 27.95 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.2911, allocations: 31.97 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/0.2914, allocations: 76.66 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2914, allocations: 0 / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000316/0.2917, allocations: 101.6 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.2917, allocations: 8 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2918, allocations: 4 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.2918, allocations: 0 / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.2919, allocations: 11.98 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.2919, allocations: 4 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.233e-05/0.292, allocations: 15.92 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.292, allocations: 0 / 1.224 GB, free: 10.5 MB / 0.9825 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 6.568e-05/0.2921, allocations: 114.3 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.2921, allocations: 8 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.039e-05/0.2921, allocations: 7.906 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.2921, allocations: 0 / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2922, allocations: 0 / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.2922, allocations: 0 / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.2923, allocations: 173.6 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2923, allocations: 0 / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.2924, allocations: 19.92 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2924, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.2925, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2925, allocations: 4 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2925, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.2928, allocations: 203.4 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.29e-05/0.2929, allocations: 81.11 kB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.2929, allocations: 0 / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.293, allocations: 15.98 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.2931, allocations: 3.984 kB / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.2931, allocations: 4 kB / 1.224 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.079e-05/0.2931, allocations: 83.59 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2931, allocations: 3.938 kB / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002224/0.2934, allocations: 8 kB / 1.224 GB, free: 9.68 MB / 0.9825 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.0006359/0.294, allocations: 0.7361 MB / 1.225 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003315/0.2943, allocations: 75.91 kB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2943, allocations: 0 / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.2945, allocations: 39.89 kB / 1.225 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.2948, allocations: 8.172 kB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/0.2952, allocations: 158.9 kB / 1.225 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.2954, allocations: 0.6846 MB / 1.226 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.401e-05/0.2955, allocations: 8 kB / 1.226 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.28e-05/0.2955, allocations: 11.44 kB / 1.226 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.2955, allocations: 0 / 1.226 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01635/0.3119, allocations: 1.632 MB / 1.228 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.217/7.529, allocations: 19.81 kB / 1.228 GB, free: 6.324 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches