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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> 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.007994/0.007994, allocations: 98.64 kB / 15.73 MB, free: 5.605 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.002126/0.002126, allocations: 192.4 kB / 16.67 MB, free: 5.527 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.806/2.806, allocations: 482.4 MB / 0.7548 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001949, allocations: 67.64 kB / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2899, allocations: 162.2 MB / 1.242 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001906/0.2919, allocations: 0.7099 MB / 1.242 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009847/0.2929, allocations: 0.8082 MB / 1.243 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.549e-05/0.2929, allocations: 4 kB / 1.243 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.668e-05/0.293, allocations: 0 / 1.243 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.08e-05/0.293, allocations: 11.86 kB / 1.243 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 9.61e-05/0.2932, allocations: 11.97 kB / 1.243 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.543e-05/0.2932, allocations: 43.92 kB / 1.243 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.343e-05/0.2933, allocations: 9.391 kB / 1.243 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.399e-05/0.2934, allocations: 15.94 kB / 1.243 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.167e-05/0.2935, allocations: 27.91 kB / 1.243 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.2935, allocations: 4 kB / 1.243 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.256e-05/0.2935, allocations: 4 kB / 1.243 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.2935, allocations: 7.938 kB / 1.243 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.2936, allocations: 23.91 kB / 1.243 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.718e-05/0.2937, allocations: 40.09 kB / 1.243 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2937, allocations: 0 / 1.243 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2937, allocations: 3.938 kB / 1.243 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2937, allocations: 0 / 1.243 GB, free: 7.484 MB / 0.9669 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.0005265/0.2942, allocations: 363.3 kB / 1.244 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.2943, allocations: 12.02 kB / 1.244 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.045e-05/0.2943, allocations: 34.75 kB / 1.244 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.593e-05/0.2944, allocations: 8.891 kB / 1.244 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.2945, allocations: 168.3 kB / 1.244 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.2945, allocations: 4.375 kB / 1.244 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-06/0.2945, allocations: 384 / 1.244 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.2948, allocations: 78.2 kB / 1.244 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2948, allocations: 3.938 kB / 1.244 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.2948, allocations: 0 / 1.244 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.2948, allocations: 0 / 1.244 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003021/0.2951, allocations: 63.88 kB / 1.244 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.2955, allocations: 276.7 kB / 1.244 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.2957, allocations: 58.53 kB / 1.244 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.2959, allocations: 40.92 kB / 1.244 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.2959, allocations: 3.984 kB / 1.244 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.296, allocations: 30.56 kB / 1.244 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.296, allocations: 7.938 kB / 1.244 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005634/0.2965, allocations: 125.6 kB / 1.244 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.2966, allocations: 51.41 kB / 1.244 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.4e-05/0.2967, allocations: 113.8 kB / 1.245 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.2967, allocations: 25.7 kB / 1.245 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/0.2968, allocations: 92.12 kB / 1.245 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.2968, allocations: 11.91 kB / 1.245 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.2968, allocations: 13.72 kB / 1.245 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.297, allocations: 314.8 kB / 1.245 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.2972, allocations: 31.95 kB / 1.245 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.2973, allocations: 35.97 kB / 1.245 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/0.2976, allocations: 72.66 kB / 1.245 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2976, allocations: 0 / 1.245 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003398/0.298, allocations: 97.62 kB / 1.245 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.298, allocations: 8 kB / 1.245 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.298, allocations: 0 / 1.245 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.298, allocations: 3.984 kB / 1.245 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.2981, allocations: 15.98 kB / 1.245 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2982, allocations: 4 kB / 1.245 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.72e-05/0.2982, allocations: 7.984 kB / 1.245 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.2983, allocations: 0 / 1.245 GB, free: 5.113 MB / 0.9669 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.108e-05/0.2983, allocations: 118.3 kB / 1.245 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.2984, allocations: 7.953 kB / 1.245 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003766/0.2988, allocations: 109.4 kB / 1.245 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2988, allocations: 3.984 kB / 1.245 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2988, allocations: 4 kB / 1.246 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2988, allocations: 0 / 1.246 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.299, allocations: 169.6 kB / 1.246 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.299, allocations: 4 kB / 1.246 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.759e-05/0.2991, allocations: 11.98 kB / 1.246 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.2991, allocations: 0 / 1.246 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.2991, allocations: 4 kB / 1.246 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.2991, allocations: 7.984 kB / 1.246 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2991, allocations: 0 / 1.246 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003914/0.2995, allocations: 203.3 kB / 1.246 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.45e-05/0.2996, allocations: 81.05 kB / 1.246 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.2996, allocations: 4 kB / 1.246 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.2997, allocations: 15.91 kB / 1.246 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.2997, allocations: 4 kB / 1.246 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.2998, allocations: 4 kB / 1.246 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.66e-05/0.2998, allocations: 87.27 kB / 1.246 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2998, allocations: 4 kB / 1.246 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002245/0.3001, allocations: 8 kB / 1.246 GB, free: 4.172 MB / 0.9669 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.0007191/0.3008, allocations: 0.7361 MB / 1.247 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003503/0.3011, allocations: 71.95 kB / 1.247 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3012, allocations: 0 / 1.247 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.3013, allocations: 31.97 kB / 1.247 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.3016, allocations: 13.48 kB / 1.247 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004319/0.3021, allocations: 155 kB / 1.247 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.3024, allocations: 0.6845 MB / 1.248 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.035e-05/0.3024, allocations: 3.984 kB / 1.248 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.3025, allocations: 15.44 kB / 1.248 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of SimCode: time 2.41e-07/0.3025, allocations: 0 / 1.248 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.323, allocations: 1.624 MB / 1.249 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.576/7.899, allocations: 12.98 kB / 1.249 GB, free: 0.832 MB / 0.9669 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 400 --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