Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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.MultiMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",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.004742/0.004742, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.00129/0.00129, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.907/2.907, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 71.88 kB / 1.083 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2887, allocations: 162.2 MB / 1.242 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001832/0.2905, allocations: 0.6594 MB / 1.242 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001424/0.2907, allocations: 11.98 kB / 1.242 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.408e-05/0.2907, allocations: 7.938 kB / 1.242 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.977e-05/0.2909, allocations: 0 / 1.242 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.203e-05/0.2909, allocations: 3.984 kB / 1.242 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.481e-05/0.291, allocations: 4 kB / 1.242 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.2911, allocations: 39.91 kB / 1.242 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.2912, allocations: 31.98 kB / 1.242 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.41e-05/0.2913, allocations: 11.94 kB / 1.242 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.36e-05/0.2913, allocations: 19.91 kB / 1.242 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.2913, allocations: 4 kB / 1.242 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.2913, allocations: 4 kB / 1.242 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.131e-05/0.2914, allocations: 11.94 kB / 1.242 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.616e-05/0.2914, allocations: 19.88 kB / 1.242 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.927e-05/0.2915, allocations: 51.69 kB / 1.242 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2915, allocations: 0 / 1.242 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2915, allocations: 0 / 1.242 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.2915, allocations: 0 / 1.242 GB, free: 9.289 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003527/0.2919, allocations: 353.4 kB / 1.243 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.2919, allocations: 8.031 kB / 1.243 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.949e-05/0.292, allocations: 38.75 kB / 1.243 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/0.292, allocations: 12.89 kB / 1.243 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.2922, allocations: 180.3 kB / 1.243 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.2922, allocations: 8.375 kB / 1.243 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.2922, allocations: 4.375 kB / 1.243 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.2924, allocations: 78.16 kB / 1.243 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.2924, allocations: 3.938 kB / 1.243 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.2924, allocations: 8 kB / 1.243 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2924, allocations: 3.938 kB / 1.243 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.776e-05/0.2925, allocations: 43.97 kB / 1.243 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004914/0.293, allocations: 495.1 kB / 1.244 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.945e-05/0.2931, allocations: 169.1 kB / 1.244 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.145e-05/0.2932, allocations: 80.14 kB / 1.244 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.2932, allocations: 79.28 kB / 1.244 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/0.2932, allocations: 105.8 kB / 1.244 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.2933, allocations: 4 kB / 1.244 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.689e-05/0.2933, allocations: 37.59 kB / 1.244 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/0.2934, allocations: 134.6 kB / 1.244 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.2936, allocations: 170.7 kB / 1.244 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.2936, allocations: 25.7 kB / 1.244 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.38e-05/0.2937, allocations: 96.12 kB / 1.244 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.2937, allocations: 0 / 1.244 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.2937, allocations: 9.719 kB / 1.244 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.2939, allocations: 326.8 kB / 1.245 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.608e-05/0.2939, allocations: 4 kB / 1.245 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.653e-05/0.2939, allocations: 11.98 kB / 1.245 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.109e-05/0.2939, allocations: 8.859 kB / 1.245 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.294, allocations: 4 kB / 1.245 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001161/0.2941, allocations: 57.56 kB / 1.245 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.2941, allocations: 4 kB / 1.245 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.2941, allocations: 96 / 1.245 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.2941, allocations: 8 kB / 1.245 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.119e-05/0.2942, allocations: 3.938 kB / 1.245 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/0.2942, allocations: 3.984 kB / 1.245 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.55e-05/0.2942, allocations: 4 kB / 1.245 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.2942, allocations: 4 kB / 1.245 GB, free: 6.516 MB / 0.9981 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 (1): * Single equations (assignments): 1 * 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.0001167/0.2944, allocations: 193.8 kB / 1.245 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.55e-05/0.2944, allocations: 116.8 kB / 1.245 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.375e-05/0.2945, allocations: 120.8 kB / 1.245 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.486e-05/0.2946, allocations: 180.2 kB / 1.245 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.89e-05/0.2947, allocations: 180.2 kB / 1.246 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.459e-05/0.2948, allocations: 180.3 kB / 1.246 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.2951, allocations: 425.1 kB / 1.246 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.375e-05/0.2951, allocations: 101 kB / 1.246 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.463e-05/0.2952, allocations: 105 kB / 1.246 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.219e-05/0.2953, allocations: 192.2 kB / 1.247 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.016e-05/0.2953, allocations: 176.3 kB / 1.247 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-05/0.2954, allocations: 184.1 kB / 1.247 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.996e-05/0.2955, allocations: 184.2 kB / 1.247 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.2957, allocations: 316 kB / 1.247 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.2958, allocations: 198.1 kB / 1.248 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.827e-05/0.2959, allocations: 180.2 kB / 1.248 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.504e-05/0.296, allocations: 104.9 kB / 1.248 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.689e-05/0.2961, allocations: 184.3 kB / 1.248 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-05/0.2961, allocations: 104.9 kB / 1.248 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001179/0.2963, allocations: 133 kB / 1.248 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2963, allocations: 0 / 1.248 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002503/0.2965, allocations: 4 kB / 1.248 GB, free: 2.805 MB / 0.9981 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 (0): * Single equations (assignments): 0 * 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.0004972/0.297, allocations: 0.8126 MB / 1.249 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.977e-05/0.2971, allocations: 15.92 kB / 1.249 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2971, allocations: 0 / 1.249 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.2971, allocations: 0 / 1.249 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.2976, allocations: 470.4 kB / 1.25 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.502/0.7996, allocations: 1.597 MB / 1.251 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.7998, allocations: 0.6935 MB / 1.252 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.484e-05/0.7998, allocations: 6.984 kB / 1.252 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.631e-05/0.7999, allocations: 17.19 kB / 1.252 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/0.7999, allocations: 0 / 1.252 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02154/0.8214, allocations: 1.625 MB / 1.253 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.619/8.44, allocations: 11.11 kB / 1.253 GB, free: 13.71 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_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_MultiMin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches