Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min",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.007461/0.007461, allocations: 98.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.001897/0.001897, allocations: 195.1 kB / 16.68 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.678/2.678, allocations: 469.4 MB / 0.7422 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.91 kB / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2873, allocations: 159.1 MB / 1.22 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001714/0.289, allocations: 0.7023 MB / 1.221 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008887/0.29, allocations: 0.8018 MB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.714e-05/0.29, allocations: 4 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.29, allocations: 7.938 kB / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.275e-05/0.2901, allocations: 7.922 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.605e-05/0.2902, allocations: 7.984 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.081e-05/0.2903, allocations: 47.86 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.017e-05/0.2904, allocations: 7.984 kB / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.311e-05/0.2905, allocations: 19.97 kB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.439e-05/0.2905, allocations: 19.92 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.2905, allocations: 4 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.2906, allocations: 11.94 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.672e-05/0.2906, allocations: 4 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.074e-05/0.2906, allocations: 19.92 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.715e-05/0.2907, allocations: 43.75 kB / 1.221 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2907, allocations: 0 / 1.221 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2907, allocations: 0 / 1.221 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.2907, allocations: 0 / 1.221 GB, free: 12.87 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.0005022/0.2912, allocations: 367.2 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.2913, allocations: 12.03 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.547e-05/0.2913, allocations: 34.75 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.635e-05/0.2914, allocations: 8.891 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.2915, allocations: 168.4 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.2915, allocations: 384 / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.2915, allocations: 384 / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.2918, allocations: 78.2 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.2918, allocations: 3.938 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.2918, allocations: 4 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.2918, allocations: 3.938 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.2921, allocations: 63.92 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.2925, allocations: 264.9 kB / 1.222 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.2927, allocations: 58.53 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.2929, allocations: 44.91 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.2929, allocations: 0 / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.2929, allocations: 34.5 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.2929, allocations: 0 / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.000548/0.2935, allocations: 125.6 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.2935, allocations: 51.41 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.46e-05/0.2936, allocations: 109.8 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.2936, allocations: 25.7 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.2937, allocations: 92.06 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.2937, allocations: 19.84 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.2937, allocations: 13.72 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.2938, allocations: 318.8 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.294, allocations: 27.97 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.2942, allocations: 40.08 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.2944, allocations: 76.66 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2945, allocations: 0 / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003286/0.2948, allocations: 93.62 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.2948, allocations: 11.98 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.2948, allocations: 4 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.2948, allocations: 0 / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.295, allocations: 11.98 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.295, allocations: 4 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.423e-05/0.2951, allocations: 15.94 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.2951, allocations: 0 / 1.224 GB, free: 10.49 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.925e-05/0.2952, allocations: 119.1 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.2952, allocations: 11.98 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003718/0.2956, allocations: 101.5 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.2956, allocations: 0 / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.537e-06/0.2956, allocations: 4 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2956, allocations: 0 / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.2958, allocations: 169.6 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2958, allocations: 0 / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.2959, allocations: 15.98 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.2959, allocations: 3.984 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.2959, allocations: 4 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.296, allocations: 0 / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.296, allocations: 0 / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.2963, allocations: 203.3 kB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.31e-05/0.2964, allocations: 81.11 kB / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.2964, allocations: 4 kB / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.2965, allocations: 11.97 kB / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.2966, allocations: 4 kB / 1.224 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-06/0.2966, allocations: 4 kB / 1.224 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.117e-05/0.2966, allocations: 87.58 kB / 1.224 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2966, allocations: 0 / 1.224 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002337/0.2969, allocations: 4 kB / 1.224 GB, free: 9.574 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.0006925/0.2976, allocations: 0.7357 MB / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003377/0.2979, allocations: 76.2 kB / 1.225 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2979, allocations: 3.938 kB / 1.225 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.2981, allocations: 31.97 kB / 1.225 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.2984, allocations: 12.16 kB / 1.225 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004168/0.2988, allocations: 167 kB / 1.225 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.2991, allocations: 0.6807 MB / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.388e-05/0.2991, allocations: 7.969 kB / 1.226 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.2991, allocations: 15.44 kB / 1.226 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.2992, allocations: 0 / 1.226 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/0.3161, allocations: 1.637 MB / 1.228 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.73/8.046, allocations: 3.719 kB / 1.228 GB, free: 6.211 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_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_Min.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches